D
Doug Freyburger
markus said:There are more than 1000 defined system calls in the Unix standard
specification, however, a majority of them are optional and the
availability of system calls are dependent on the OS implementation
itself.
The question I have is: How do you determine which system calls are
available on any Unix/Linux machine?
A good place to start looking is under /usr/include for C files
that give their numbers. I just looked at
/usr/include/sys/syscalls.h on an AIX box I happened to be logged on
to and the map of numbers to names was given there.
The same question goes for determening available C library functions
on any Unix/Linux machine?
Too dependent on the system for me to give a good answer. Start
with the man pages, and library binaries under /usr/lib.