OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man2 / socketcall.2
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 .\"
27 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
28 .\"         all rights reserved.
29 .\" Translated Mon Mar  3 23:45:10 JST 1997
30 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
31 .\"
32 .\"WORD:        socket                  ¥½¥±¥Ã¥È
33 .\"WORD:        kernel                  ¥«¡¼¥Í¥ë
34 .\"WORD:        entry                   ¥¨¥ó¥È¥ê
35 .\"WORD:        hacker                  ¥Ï¥Ã¥«¡¼
36 .\"WORD:        library                 ¥é¥¤¥Ö¥é¥ê
37 .\"
38 .TH SOCKETCALL 2 2007-06-28 "Linux" "Linux Programmer's Manual"
39 .\"O .SH NAME
40 .SH Ì¾Á°
41 .\"O socketcall \- socket system calls
42 socketcall \- ¥½¥±¥Ã¥È¡¦¥·¥¹¥Æ¥à¥³¡¼¥ë
43 .\"O .SH SYNOPSIS
44 .SH ½ñ¼°
45 .BI "int socketcall(int " call ", unsigned long *" args );
46 .\"O .SH DESCRIPTION
47 .SH ÀâÌÀ
48 .\"O .BR socketcall ()
49 .\"O is a common kernel entry point for the socket system calls.
50 .\"O .I call
51 .\"O determines which socket function to invoke.
52 .\"O .I args
53 .\"O points to a block containing the actual arguments,
54 .\"O which are passed through to the appropriate call.
55 .BR socketcall ()
56 ¤Ï¥½¥±¥Ã¥È¡¦¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î¤¿¤á¤Î¶¦Ä̤Υ«¡¼¥Í¥ë¡¦¥¨¥ó¥È¥ê¡¦
57 ¥Ý¥¤¥ó¥È(kernel entry point)¤Ç¤¢¤ë¡£
58 .I call
59 ¤Ï¤É¤Î¥½¥±¥Ã¥È´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹¤«¤ò»ØÄꤹ¤ë¡£
60 .I args
61 ¤ÏŬÀڤʥ³¡¼¥ë¤ËÅϤ¹¤¿¤á¤Î¼ÂºÝ¤Î°ú¤­¿ô¤ò´Þ¤ó¤Ç¤¤¤ë¥Ö¥í¥Ã¥¯¤ò»Ø¤¹¡£
62 .PP
63 .\"O User programs should call the appropriate functions by their usual names.
64 .\"O Only standard library implementors and kernel hackers need to know about
65 .\"O .BR socketcall ().
66 ¥æ¡¼¥¶¡¼¡¦¥×¥í¥°¥é¥à¤ÏÄ̾ï¤Î̾Á°¤ò»ÈÍѤ·¤ÆŬÀڤʴؿô¤ò¸Æ¤Ó½Ð¤¹¤Ù¤­¤Ç¤¢¤ë¡£
67 ɸ½à¥é¥¤¥Ö¥é¥ê¤Î¼ÂÁõ¼Ô¤ä¥«¡¼¥Í¥ë¡¦¥Ï¥Ã¥«¡¼¤Î¤ß¤¬
68 .BR socketcall ()
69 ¤Ë¤Ä¤¤¤ÆÃΤëɬÍפ¬¤¢¤ë¡£
70 .\"O .SH "CONFORMING TO"
71 .SH ½àµò
72 .\"O This call is specific to Linux, and should not be used in programs
73 .\"O intended to be portable.
74 ¤³¤Î¥³¡¼¥ë¤Ï Linux ÆÃÍ­¤Ç¤¢¤ê¡¢°Ü¿¢¤ò°Õ¿Þ¤·¤¿¥×¥í¥°¥é¥à¤Ç
75 »ÈÍѤ·¤Æ¤Ï¤¤¤±¤Ê¤¤¡£
76 .\"O .SH NOTES
77 .SH Ãí°Õ
78 .\"O On a few architectures, for example ia64, there is no
79 .\"O .BR socketcall ()
80 .\"O system call; instead
81 .\"O .BR socket (2),
82 .\"O .BR accept (2),
83 .\"O .BR bind (2),
84 .\"O and so on really are implemented as separate system calls.
85 ia64 ¤Ê¤É¤Î¤¤¤¯¤Ä¤«¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Ï¡¢¥·¥¹¥Æ¥à¥³¡¼¥ë
86 .BR socketcall ()
87 ¤¬Â¸ºß¤·¤Ê¤¤¡£¼ÂºÝ¤Ë¤Ï¡¢¤½¤ÎÂå¤ï¤ê¤Ë
88 .BR socket (2),
89 .BR accept (2),
90 .BR bind (2)
91 ¤Ê¤É¤¬ÆÈΩ¤·¤¿¥·¥¹¥Æ¥à¥³¡¼¥ë¤È¤·¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡£
92 .\"O .SH "SEE ALSO"
93 .SH ´ØÏ¢¹àÌÜ
94 .BR accept (2),
95 .BR bind (2),
96 .BR connect (2),
97 .BR getpeername (2),
98 .BR getsockname (2),
99 .BR getsockopt (2),
100 .BR listen (2),
101 .BR recv (2),
102 .BR recvfrom (2),
103 .BR recvmsg (2),
104 .BR send (2),
105 .BR sendmsg (2),
106 .BR sendto (2),
107 .BR setsockopt (2),
108 .BR shutdown (2),
109 .BR socket (2),
110 .BR socketpair (2)