OSDN Git Service

aa351c582261210d2eb9f93146a9588667cb02c8
[linuxjm/LDP_man-pages.git] / draft / man2 / ipc.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 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
26 .\"
27 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
28 .\"         all rights reserved.
29 .\" Translated Sun Feb 23 16:13:46 JST 1997
30 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
31 .\" Updated 2007-09-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.64
32 .\"
33 .\"WORD:        IPC                     IPC
34 .\"WORD:        message                 メッセージ
35 .\"WORD:        semaphore               セマフォー
36 .\"WORD:        shared memory           共有メモリ
37 .\"WORD:        entry point             エントリ・ポイント
38 .\"WORD:        argument                引き数
39 .\"WORD:        hacker                  ハッカー
40 .\"WORD:        standart library        標準ライブラリ
41 .\"WORD:        implement               実装
42 .\"
43 .TH IPC 2 2007-06-28 "Linux" "Linux Programmer's Manual"
44 .\"O .SH NAME
45 .SH 名前
46 .\"O ipc \- System V IPC system calls
47 ipc \- System V IPC システム・コール
48 .\"O .SH SYNOPSIS
49 .SH 書式
50 .nf
51 .BI "int ipc(unsigned int " call ", int " first ", int " second \
52 ", int " third ,
53 .BI "        void *" ptr ", long " fifth );
54 .fi
55 .\"O .SH DESCRIPTION
56 .SH 説明
57 .\"O .BR ipc ()
58 .\"O is a common kernel entry point for the System V IPC calls
59 .\"O for messages, semaphores, and shared memory.
60 .\"O .I call
61 .\"O determines which IPC function to invoke;
62 .\"O the other arguments are passed through to the appropriate call.
63 .BR ipc ()
64 は メッセージ、セマフォー、共有メモリに関する System V IPC コールの
65 共通のカーネルへのエントリ・ポイントである。
66 .I call
67 はどの IPC 関数を呼び出すかを決め;
68 他の引き数は適切なコールへと渡される。
69 .PP
70 .\"O User programs should call the appropriate functions by their usual names.
71 .\"O Only standard library implementors and kernel hackers need to know about
72 .\"O .BR ipc ().
73 ユーザー・プログラムは通常の名前で適切な関数を呼び出すべきである。
74 標準ライブラリの実装者やカーネル・ハッカーのみが
75 .BR ipc ()
76 について知る必要がある。
77 .\"O .SH "CONFORMING TO"
78 .SH 準拠
79 .\"O .BR ipc ()
80 .\"O is Linux-specific, and should not be used in programs
81 .\"O intended to be portable.
82 .BR ipc ()
83 は Linux 特有であり、 移植を意図したプログラムでは
84 使用してはいけない。
85 .\"O .SH NOTES
86 .SH 注意
87 .\"O On a few architectures, for example ia64, there is no
88 .\"O .BR ipc ()
89 .\"O system call; instead
90 .\"O .BR msgctl (2),
91 .\"O .BR semctl (2),
92 .\"O .BR shmctl (2),
93 .\"O and so on really are implemented as separate system calls.
94 ia64 などのいくつかのアーキテクチャでは、システムコール
95 .BR ipc ()
96 が存在しない。実際には、その代わりに
97 .BR msgctl (2),
98 .BR semctl (2),
99 .BR shmctl (2)
100 などが独立したシステムコールとして実装されている。
101 .\"O .SH "SEE ALSO"
102 .SH 関連項目
103 .BR msgctl (2),
104 .BR msgget (2),
105 .BR msgrcv (2),
106 .BR msgsnd (2),
107 .BR semctl (2),
108 .BR semget (2),
109 .BR semop (2),
110 .BR shmat (2),
111 .BR shmctl (2),
112 .BR shmdt (2),
113 .BR shmget (2)