1SOCKETCALL(2) Linux Programmer's Manual SOCKETCALL(2)
2
3
4
6 socketcall - socket system calls
7
9 int socketcall(int call, unsigned long *args);
10
12 socketcall() is a common kernel entry point for the socket system
13 calls. call determines which socket function to invoke. args points
14 to a block containing the actual arguments, which are passed through to
15 the appropriate call.
16
17 User programs should call the appropriate functions by their usual
18 names. Only standard library implementors and kernel hackers need to
19 know about socketcall().
20
22 This call is specific to Linux, and should not be used in programs
23 intended to be portable.
24
26 On a few architectures, for example ia64, there is no socketcall() sys‐
27 tem call; instead socket(2), accept(2), bind(2), and so on really are
28 implemented as separate system calls.
29
31 accept(2), bind(2), connect(2), getpeername(2), getsockname(2), get‐
32 sockopt(2), listen(2), recv(2), recvfrom(2), recvmsg(2), send(2),
33 sendmsg(2), sendto(2), setsockopt(2), shutdown(2), socket(2), socket‐
34 pair(2)
35
37 This page is part of release 3.25 of the Linux man-pages project. A
38 description of the project, and information about reporting bugs, can
39 be found at http://www.kernel.org/doc/man-pages/.
40
41
42
43Linux 2007-06-28 SOCKETCALL(2)