> > I wonder what is the figure for Linux if I would take into account the Xwindows
>interface and/or various libraries that meant to hide it. And what about the various
>window managers ?
>
> This figure is misleading anyway. Pure Unix has 5 system calls - open(),
> read(), write(), close() and fcntl(). And fcntl() hides 700 different
> things.
Uh, no. (Btw, what's ``pure Unix''?)
I'll ASSUME that you meant that you can abstract anything as a file, and
thus lose most of the API; you'd still be wrong, since you've missed many
file-related system calls (e.g. lseek(), truncate(), unlink(), etc.)
The `everything is a file' architecture is present in the Plan 9 operating
system from Bell Labs, and even that OS has a lot more than 5 system calls.
I can imagine how you'd implement much of the UNIX API in terms of open()
and friends, but that would not only be a very complex implementation, it'd
in a very ugly API. That API wouldn't be any less complex than the
`standard' UNIX API.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]