OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[linuxjm/LDP_man-pages.git] / release / 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 .SH 名前
40 socketcall \- ソケット・システムコール
41 .SH 書式
42 .BI "int socketcall(int " call ", unsigned long *" args );
43 .SH 説明
44 .BR socketcall ()
45 はソケット・システムコールのための共通のカーネル・エントリ・
46 ポイント(kernel entry point)である。
47 .I call
48 はどのソケット関数を呼び出すかを指定する。
49 .I args
50 は適切なコールに渡すための実際の引き数を含んでいるブロックを指す。
51 .PP
52 ユーザー・プログラムは通常の名前を使用して適切な関数を呼び出すべきである。
53 標準ライブラリの実装者やカーネル・ハッカーのみが
54 .BR socketcall ()
55 について知る必要がある。
56 .SH 準拠
57 このコールは Linux 特有であり、移植を意図したプログラムで
58 使用してはいけない。
59 .SH 注意
60 ia64 などのいくつかのアーキテクチャでは、システムコール
61 .BR socketcall ()
62 が存在しない。実際には、その代わりに
63 .BR socket (2),
64 .BR accept (2),
65 .BR bind (2)
66 などが独立したシステムコールとして実装されている。
67 .SH 関連項目
68 .BR accept (2),
69 .BR bind (2),
70 .BR connect (2),
71 .BR getpeername (2),
72 .BR getsockname (2),
73 .BR getsockopt (2),
74 .BR listen (2),
75 .BR recv (2),
76 .BR recvfrom (2),
77 .BR recvmsg (2),
78 .BR send (2),
79 .BR sendmsg (2),
80 .BR sendto (2),
81 .BR setsockopt (2),
82 .BR shutdown (2),
83 .BR socket (2),
84 .BR socketpair (2)