]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Hey Emacs! This file is -*- nroff -*- source. |
2 | .\" | |
3 | .\" Copyright (c) 1995 Michael Chastain (mec@shell.portal.com), 15 April 1995. | |
4 | .\" | |
5 | .\" This is free documentation; you can redistribute it and/or | |
6 | .\" modify it under the terms of the GNU General Public License as | |
7 | .\" published by the Free Software Foundation; either version 2 of | |
8 | .\" the License, or (at your option) any later version. | |
9 | .\" | |
10 | .\" The GNU General Public License's references to "object code" | |
11 | .\" and "executables" are to be interpreted as the output of any | |
12 | .\" document formatting or typesetting system, including | |
13 | .\" intermediate and printed output. | |
14 | .\" | |
15 | .\" This manual is distributed in the hope that it will be useful, | |
16 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | .\" GNU General Public License for more details. | |
19 | .\" | |
20 | .\" You should have received a copy of the GNU General Public | |
21 | .\" License along with this manual; if not, write to the Free | |
22 | .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, | |
23 | .\" USA. | |
24 | .\" | |
25 | .\" Modified Tue Oct 22 22:11:53 1996 by Eric S. Raymond <esr@thyrsus.com> | |
26 | .TH IPC 2 1995-04-15 "Linux 1.2.4" "Linux Programmer's Manual" | |
27 | .SH NAME | |
28 | socketcall \- socket system calls | |
29 | .SH SYNOPSIS | |
30 | .BI "int socketcall(int" " call, " "unsigned long *" "args);" | |
31 | .SH DESCRIPTION | |
32 | .B socketcall | |
33 | is a common kernel entry point for the socket system calls. | |
34 | .I call | |
35 | determines which socket function to invoke. | |
36 | .I args | |
37 | points to a block containing the actual arguments, | |
38 | which are passed through to the appropriate call. | |
39 | .PP | |
40 | User programs should call the appropriate functions by their usual names. | |
41 | Only standard library implementors and kernel hackers need to know about | |
42 | .BR socketcall . | |
43 | .SH "CONFORMING TO" | |
44 | This call is specific to Linux, and should not be used in programs | |
45 | intended to be portable. | |
46 | .SH "SEE ALSO" | |
47 | .BR accept (2), | |
48 | .BR bind (2), | |
49 | .BR connect (2), | |
50 | .BR getpeername (2), | |
51 | .BR getsockname (2), | |
52 | .BR getsockopt (2), | |
53 | .BR listen (2), | |
54 | .BR recv (2), | |
55 | .BR recvfrom (2), | |
56 | .BR send (2), | |
57 | .BR sendto (2), | |
58 | .BR setsockopt (2), | |
59 | .BR shutdown (2), | |
60 | .BR socket (2), | |
61 | .BR socketpair (2) |