1SOCKETCALL(2)              Linux Programmer's Manual             SOCKETCALL(2)
2
3
4

NAME

6       socketcall - socket system calls
7

SYNOPSIS

9       int socketcall(int call, unsigned long *args);
10

DESCRIPTION

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

CONFORMING TO

22       This call is specific to Linux, and should  not  be  used  in  programs
23       intended to be portable.
24

NOTES

26       On a some architectures—for example, x86-64 and ARM—there is no socket‐
27       call() system call; instead socket(2), accept(2), bind(2),  and  so  on
28       really are implemented as separate system calls.
29

SEE ALSO

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

COLOPHON

37       This page is part of release 3.53 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                             2012-10-16                     SOCKETCALL(2)
Impressum