Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!EU.net!sun4nl!fwi.uva.nl!not-for-mail From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.unix.solaris,comp.unix.bsd.misc Subject: Re: Solaris 2.6 Supersedes: <cancel.casper.32a2f5ee@mail.fwi.uva.nl> Date: 2 Dec 1996 16:29:52 +0100 Organization: Sun Microsystems, Netherlands Lines: 21 Distribution: inet Message-ID: <casper.32a2f5ee@mail.fwi.uva.nl> References: <32986299.AC7@mail.esrin.esa.it> <57djlg$bks@agate.berkeley.edu> <57dkbq$bsr@panix2.panix.com> <casper.329abb76@mail.fwi.uva.nl> <57ej3a$7ij@panix2.panix.com> <casper.329ae8f2@mail.fwi.uva.nl> <57hhcp$kp9@innocence.interface-business.de> <mkl.849534999@rob.cs.tu-bs.de> NNTP-Posting-Host: mail.fwi.uva.nl Xref: euryale.cc.adfa.oz.au comp.unix.solaris:91123 comp.unix.bsd.misc:1652 mkl@rob.cs.tu-bs.de (Mario Klebsch DG1AM) writes: >Open is a syscall (on Solaris), but how does the compiler call open? >Have you ever seen a C-Compiler putting syscalls in its output? All >Syscalls are called from wrappers within the libraries. And putting >them all into dynamic libraries has the advantage, that you do not >have to relink your program, when e.g. a syscall is replaced by a >library routine or vice versa. Socket once was a syscall (in SunOS4), >but is a library routine today (in Solaris 2.5). Perhaps this will be >changed in the future, but the interface to the binaries is not >affected by this change. It's a syscall again in 2.6, but that's transparent to binaries. Casper -- Casper Dik - Sun Microsystems - via my guest account at the University of Amsterdam. My work e-mail address is: Casper.Dik@Holland.Sun.COM Statements on Sun products included here are not gospel and may be fiction rather than truth.