Section: Linux Programmer's Manual (2)Updated: 2007-06-28Local indexUp
socketcall - socket system calls
int socketcall(int call, unsigned long *args);
is a common kernel entry point for the socket system calls.
determines which socket function to invoke.
points to a block containing the actual arguments,
which are passed through to the appropriate call.
User programs should call the appropriate functions by their usual names.
Only standard library implementors and kernel hackers need to know about
This call is specific to Linux, and should not be used in programs
intended to be portable.
On a few architectures, for example ia64, there is no
system call; instead
and so on really are implemented as separate system calls.