Xenix files..

Sean Eric Fagan sef at kithrup.COM
Wed Jan 2 16:56:43 AEST 1991


In article <1991Jan1.234509.3207 at robobar.co.uk> ronald at robobar.co.uk (Ronald S H Khoo) writes:
>Actually, I'd say that's true on Xenix as well.  Can you think of anything
>more stupid than the SCO manual sections ?  *everything* is in "S" section
>so no one knows what's a system call and what's not.

Well... what's a system call in this release won't necessarily be a system
call in the next release.  Take chsize().  In xenix, it's a system call.  In
unix (3.2, that is), it's still honored as a system call, but most people
would not be able to tell the difference if it were replaced (in the COFF
library) with a routine that only called fcntl.

Why would you want to do this?  Because it's nicer to put things in user
code (no context switching, then, which is horrible), and it might be more
efficient that way.

Note that there are also some disadvantages of that, mostly that, if your
code is buggy, you can fix a system call by mereley installing a new kernel,
while you need to compile everything that includes the routine otherwise.

Anyway, just me rambling on a bit 8-).

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef at kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.



More information about the Comp.unix.xenix.sco mailing list