1 .\" Copyright 1993 Giorgio Ciucci (giorgio@crcc.it)
2 .\" and Copyright 2004, 2005 Michael Kerrisk <mtk.manpages@gmail.com>
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
25 .\" Modified Sun Feb 18 01:59:29 2001 by Andries E. Brouwer <aeb@cwi.nl>
26 .\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
27 .\" Added notes on CAP_IPC_OWNER requirement
28 .\" Modified, 17 Jun 2004, Michael Kerrisk <mtk.manpages@gmail.com>
29 .\" Added notes on CAP_SYS_ADMIN requirement for IPC_SET and IPC_RMID
30 .\" Modified, 11 Nov 2004, Michael Kerrisk <mtk.manpages@gmail.com>
31 .\" Language and formatting clean-ups
32 .\" Added msqid_ds and ipc_perm structure definitions
33 .\" 2005-08-02, mtk: Added IPC_INFO, MSG_INFO, MSG_STAT descriptions
35 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
36 .\" all rights reserved.
37 .\" Translated 1997-02-23, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
38 .\" Updated & Modified 2001-06-04, Yuichi SATO <ysato@h4.dion.ne.jp>
39 .\" Updated & Modified 2002-07-06, Yuichi SATO
40 .\" Updated & Modified 2004-12-31, Yuichi SATO <ysato444@yahoo.co.jp>
41 .\" Updated & Modified 2005-10-10, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
43 .\"WORD: message ¥á¥Ã¥»¡¼¥¸
45 .\"WORD: member ¥á¥ó¥Ð¡¼
46 .\"WORD: structure ¹½Â¤ÂÎ
47 .\"WORD: effective user ID ¼Â¸ú¥æ¡¼¥¶ ID
48 .\"WORD: creator ºîÀ®¼Ô
50 .\"WORD: feature test macro µ¡Ç½¸¡ºº¥Þ¥¯¥í
52 .TH MSGCTL 2 2008-08-06 "Linux" "Linux Programmer's Manual"
55 .\"O msgctl \- message control operations
56 msgctl \- ¥á¥Ã¥»¡¼¥¸À©¸æÁàºî
60 .B #include <sys/types.h>
61 .B #include <sys/ipc.h>
62 .B #include <sys/msg.h>
64 .BI "int msgctl(int " msqid ", int " cmd ", struct msqid_ds *" buf );
69 .\"O performs the control operation specified by
71 .\"O on the message queue with identifier
74 ¤Ï¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¼±ÊÌ»Ò
76 ¤Ç»ØÄꤵ¤ì¤¿¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼ (message queue) ¤ËÂФ·¤Æ
78 ¤Ç»ØÄꤵ¤ì¤¿À©¸æÁàºî¤ò¹Ô¤Ê¤¦¡£
82 .\"O data structure is defined in \fI<sys/msg.h>\fP as follows:
84 ¥Ç¡¼¥¿¹½Â¤ÂÎ¤Ï \fI<sys/msg.h>\fP ¤Ç°Ê²¼¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë:
89 .\"O struct ipc_perm msg_perm; /* Ownership and permissions */
90 .\"O time_t msg_stime; /* Time of last msgsnd(2) */
91 .\"O time_t msg_rtime; /* Time of last msgrcv(2) */
92 .\"O time_t msg_ctime; /* Time of last change */
93 .\"O unsigned long __msg_cbytes; /* Current number of bytes in
94 .\"O queue (nonstandard) */
95 .\"O msgqnum_t msg_qnum; /* Current number of messages
97 .\"O msglen_t msg_qbytes; /* Maximum number of bytes
98 .\"O allowed in queue */
99 .\"O pid_t msg_lspid; /* PID of last msgsnd(2) */
100 .\"O pid_t msg_lrpid; /* PID of last msgrcv(2) */
101 struct ipc_perm msg_perm; /* ½ê͸¢¤Èµö²Ä */
102 time_t msg_stime; /* ºÇ¸å¤Î msgsnd(2) ¤Î»þ¹ï */
103 time_t msg_rtime; /* ºÇ¸å¤Î msgrcv(2) ¤Î»þ¹ï */
104 time_t msg_ctime; /* ºÇ¸å¤ËÊѹ¹¤¬¹Ô¤ï¤ì¤¿»þ¹ï */
105 unsigned long __msg_cbytes; /* ¥¥å¡¼¤Ë¤¢¤ë¸½ºß¤Î¥Ð¥¤¥È¿ô
107 msgqnum_t msg_qnum; /* ¥¥å¡¼¤Ë¤¢¤ë¸½ºßÆþ¤Ã¤Æ¤¤¤ë
109 msglen_t msg_qbytes; /* ¥¥å¡¼¤Ëµö²Ä¤µ¤ì¤Æ¤¤¤ë
111 pid_t msg_lspid; /* ºÇ¸å¤Î msgsnd(2) ¤Î PID */
112 pid_t msg_lrpid; /* ºÇ¸å¤Î msgrcv(2) ¤Î PID */
119 .\"O structure is defined in \fI<sys/ipc.h>\fP as follows
120 .\"O (the highlighted fields are settable using
123 ¹½Â¤ÂÎ¤Ï \fI<sys/ipc.h>\fP ¤Ç°Ê²¼¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë
124 (¶¯Ä´¤µ¤ì¤¿¥Õ¥£¡¼¥ë¥É¤Ï
126 ¤ò»È¤Ã¤ÆÀßÄê²Äǽ¤Ç¤¢¤ë):
131 .\"O key_t __key; /* Key supplied to msgget(2) */
132 .\"O uid_t \fBuid\fP; /* Effective UID of owner */
133 .\"O gid_t \fBgid\fP; /* Effective GID of owner */
134 .\"O uid_t cuid; /* Effective UID of creator */
135 .\"O gid_t cgid; /* Effective GID of creator */
136 .\"O unsigned short \fBmode\fP; /* Permissions */
137 .\"O unsigned short __seq; /* Sequence number */
138 key_t __key; /* msgget(2) ¤ËÍ¿¤¨¤ë¥¡¼ */
139 uid_t \fBuid\fP; /* ½êͼԤμ¸ú UID */
140 gid_t \fBgid\fP; /* ½êͼԤμ¸ú GID */
141 uid_t cuid; /* ºîÀ®¼Ô¤Î¼Â¸ú UID */
142 gid_t cgid; /* ºîÀ®¼Ô¤Î¼Â¸ú GID */
143 unsigned short \fBmode\fP; /* µö²Ä */
144 unsigned short __seq; /* ¥·¡¼¥±¥ó¥¹ÈÖ¹æ */
149 .\"O Valid values for
156 .\"O Copy information from the kernel data structure associated with
160 .\"O structure pointed to by
162 .\"O The caller must have read permission on the message queue.
164 ¤Ë´ØÏ¢¤Å¤±¤é¤ì¤¿¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¡¦¥Ç¡¼¥¿¹½Â¤ÂΤ«¤é¡¢¥Ý¥¤¥ó¥¿
168 ¹½Â¤ÂΤ˾ðÊó¤ò¥³¥Ô¡¼¤¹¤ë¡£
169 ¸Æ¤Ó½Ð¤·Â¦¤Ï¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤ËÂФ¹¤ëÆɤ߹þ¤ßµö²Ä¤ò»ý¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
172 .\"O Write the values of some members of the
174 .\"O structure pointed to by
176 .\"O to the kernel data structure associated with this message queue,
177 .\"O updating also its
184 ¹½Â¤ÂΤΥá¥ó¥Ð¡¼¤ÎÃͤò¡¢¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Ë´ØÏ¢¤Å¤±¤é¤ì¤¿
185 ¥«¡¼¥Í¥ë¡¦¥Ç¡¼¥¿¹½Â¤ÂΤ˽ñ¤¹þ¤ß¡¢
188 .\"O The following members of the structure are updated:
189 ¹½Â¤ÂΤΥá¥ó¥Ð¡¼¤Î¤¦¤Á¡¢¹¹¿·¤µ¤ì¤ë¤â¤Î¤ò°Ê²¼¤Ë¼¨¤¹:
190 .\"O .IR msg_qbytes ,
191 .\"O .IR msg_perm.uid ,
192 .\"O .IR msg_perm.gid ,
193 .\"O and (the least significant 9 bits of)
194 .\"O .IR msg_perm.mode .
200 .\"O The effective UID of the calling process must match the owner
201 .\"O .RI ( msg_perm.uid )
203 .\"O .RI ( msg_perm.cuid )
204 .\"O of the message queue, or the caller must be privileged.
205 ¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¼Â¸ú¥æ¡¼¥¶ ID ¤¬¡¢¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Î½êͼÔ
208 .RI ( msg_perm.cuid )
209 ¤È°ìÃפ¹¤ë¤«¡¢¸Æ¤Ó½Ð¤·¸µ¤¬Æø¢¤ò»ý¤¿¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
210 .\"O Appropriate privilege (Linux: the
211 .\"O .B CAP_IPC_RESOURCE
212 .\"O capability) is required to raise the
214 .\"O value beyond the system parameter
217 ¤ò¥·¥¹¥Æ¥à¡¦¥Ñ¥é¥á¡¼¥¿¤Î
219 ¤òĶ¤¨¤ÆÀßÄꤹ¤ë¤Ë¤Ï¡¢Å¬ÀÚ¤ÊÆø¢ (Linux ¤Ç¤Ï
221 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£ (capability)) ¤¬É¬ÍפǤ¢¤ë¡£
224 .\"O Immediately remove the message queue,
225 .\"O awakening all waiting reader and writer processes (with an error
230 ¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤ò¤¿¤À¤Á¤Ëºï½ü¤¹¤ë¡£
231 Ʊ»þ¤Ë¤½¤Î¹½Â¤ÂΤÎÆɤ߽ñ¤¤ÎÂÔ¤Á¾õÂ֤ˤ¢¤Ã¤¿¥×¥í¥»¥¹¤ËÄÌÃΤ¹¤ë
237 .\"O The calling process must have appropriate privileges
238 .\"O or its effective user ID must be either that of the creator or owner
239 .\"O of the message queue.
240 ¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤¬Å¬ÀÚ¤ÊÆø¢¤ò»ý¤Ã¤Æ¤¤¤ë¤«¡¢
241 ¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¼Â¸ú¥æ¡¼¥¶ ID ¤¬¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤ÎºîÀ®¼Ô¤«
242 ½êͼԤμ¸ú¥æ¡¼¥¶ ID ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
244 .\"O .BR IPC_INFO " (Linux-specific)"
245 .BR IPC_INFO " (Linux ¸ÇÍ)"
246 .\"O Returns information about system-wide message queue limits and
247 .\"O parameters in the structure pointed to by
249 ¥·¥¹¥Æ¥àÁ´ÂΤǤΥá¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤ÎÀ©¸Â¤È¥Ñ¥é¥á¡¼¥¿¤Ë´Ø¤¹¤ë¾ðÊó¤ò¡¢
251 ¤¬»Ø¤¹¹½Â¤ÂΤËÆþ¤ì¤ÆÊÖ¤¹¡£
252 .\"O This structure is of type
254 .\"O (thus, a cast is required),
259 .\"O feature test macro is defined:
262 ·¿¤Ç¤¢¤ë (¤½¤Î¤¿¤á¥¥ã¥¹¥È¤¬É¬ÍפǤ¢¤ë)¡£
266 µ¡Ç½¸¡ºº¥Þ¥¯¥í¤¬ÄêµÁ¤µ¤ì¤¿¾ì¹ç¤Ë
268 ¤Ç°Ê²¼¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤ë:
273 .\"O int msgpool; /* Size in kibibytes of buffer pool
274 .\"O used to hold message data;
275 .\"O unused within kernel */
276 .\"O int msgmap; /* Maximum number of entries in message
277 .\"O map; unused within kernel */
278 .\"O int msgmax; /* Maximum number of bytes that can be
279 .\"O written in a single message */
280 .\"O int msgmnb; /* Maximum number of bytes that can be
281 .\"O written to queue; used to initialize
282 .\"O msg_qbytes during queue creation
284 .\"O int msgmni; /* Maximum number of message queues */
285 .\"O int msgssz; /* Message segment size;
286 .\"O unused within kernel */
287 .\"O int msgtql; /* Maximum number of messages on all queues
288 .\"O in system; unused within kernel */
289 .\"O unsigned short int msgseg;
290 .\"O /* Maximum number of segments;
291 .\"O unused within kernel */
292 int msgpool; /* ¥á¥Ã¥»¡¼¥¸¡¦¥Ç¡¼¥¿¤ÎÊÝ»ý¤Ë»ÈÍѤµ¤ì¤ë
293 ¥Ð¥Ã¥Õ¥¡¡¦¥×¡¼¥ë¤ÎÂ礤µ (1024 ¥Ð¥¤¥Èñ°Ì);
294 ¥«¡¼¥Í¥ëÆâ¤Ç¤Ï̤»ÈÍÑ */
295 int msgmap; /* ¥á¥Ã¥»¡¼¥¸¡¦¥Þ¥Ã¥×¤ÎºÇÂ票¥ó¥È¥ê¿ô;
296 ¥«¡¼¥Í¥ëÆâ¤Ç¤Ï̤»ÈÍÑ */
297 int msgmax; /* °ì¤Ä¤Î¥á¥Ã¥»¡¼¥¸¤Ë½ñ¤¹þ¤ß²Äǽ¤Ê
299 int msgmnb; /* °ì¤Ä¤Î¥¥å¡¼¤Ë½ñ¤¹þ¤ß²Äǽ¤ÊºÇÂç¥Ð¥¤¥È¿ô;
300 (msgget(2) ¤Ç¤Î) ¥¥å¡¼ºîÀ®Ãæ¤Î msg_qbytes
301 ¤Î½é´ü²½¤Ë»ÈÍѤµ¤ì¤ë */
302 int msgmni; /* ¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Î¿ô¤ÎºÇÂçÃÍ */
303 int msgssz; /* ¥á¥Ã¥»¡¼¥¸¡¦¥»¥°¥á¥ó¥È¤Î¥µ¥¤¥º;
304 ¥«¡¼¥Í¥ëÆâ¤Ç¤Ï̤»ÈÍÑ */
305 int msgtql; /* ¥·¥¹¥Æ¥à¾å¤ÎÁ´¥¥å¡¼¤ÎºÇÂç¥á¥Ã¥»¡¼¥¸¿ô;
306 ¥«¡¼¥Í¥ëÆâ¤Ç¤Ï̤»ÈÍÑ */
307 unsigned short int msgseg;
308 /* ºÇÂ祻¥°¥á¥ó¥È¿ô; ¥«¡¼¥Í¥ëÆâ¤Ç¤Ï̤»ÈÍÑ */
318 .\"O settings can be changed via
320 .\"O files of the same name; see
329 ¤Ë¤¢¤ëƱ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë·Ðͳ¤ÇÊѹ¹²Äǽ¤Ç¤¢¤ë¡£
334 .\"O .BR MSG_INFO " (Linux-specific)"
335 .BR MSG_INFO " (Linux ¸ÇÍ)"
338 .\"O structure containing the same information as for
340 .\"O except that the following fields are returned with information
341 .\"O about system resources consumed by message queues: the
343 .\"O field returns the number of message queues that currently exist
344 .\"O on the system; the
346 .\"O field returns the total number of messages in all queues
347 .\"O on the system; and the
349 .\"O field returns the total number of bytes in all messages
350 .\"O in all queues on the system.
352 ¤Î¤È¤¤ÈƱ¤¸¾ðÊó¤ò³ÊǼ¤·¤¿
355 ⤷¡¢°Ê²¼¤Î¥Õ¥£¡¼¥ë¥É¤Ë¤Ï¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤¬
356 ¾ÃÈñ¤·¤Æ¤¤¤ë¥·¥¹¥Æ¥à»ñ¸»¤Ë´Ø¤¹¤ë¾ðÊ󤬳ÊǼ¤µ¤ì¤ëÅÀ¤¬°Û¤Ê¤ë¡£
358 ¥Õ¥£¡¼¥ë¥É¤Ï¸½ºß¥·¥¹¥Æ¥à¾å¤Ë¸ºß¤¹¤ë¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Î¿ô¤òÊÖ¤¹¡£
360 ¥Õ¥£¡¼¥ë¥É¤Ï¥·¥¹¥Æ¥à¾å¤ÎÁ´¤Æ¤Î¥¥å¡¼¤ËÆþ¤Ã¤Æ¤¤¤ë¥á¥Ã¥»¡¼¥¸Áí¿ô¤òÊÖ¤¹¡£
362 ¥Õ¥£¡¼¥ë¥É¤Ï¥·¥¹¥Æ¥à¾å¤ÎÁ´¤Æ¤Î¥¥å¡¼¤ËÆþ¤Ã¤Æ¤¤¤ëÁ´¥á¥Ã¥»¡¼¥¸¤Î
365 .\"O .BR MSG_STAT " (Linux-specific)"
366 .BR MSG_STAT " (Linux ¸ÇÍ)"
369 .\"O structure as for
377 .\"O argument is not a queue identifier, but instead an index into
378 .\"O the kernel's internal array that maintains information about
379 .\"O all message queues on the system.
382 °ú¤¿ô¤Ï¡¢¥¥å¡¼¼±Ê̻ҤǤϤʤ¯¡¢¥·¥¹¥Æ¥à¾å¤ÎÁ´¤Æ¤Î¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼
383 ¤Ë´Ø¤¹¤ë¾ðÊó¤ò´ÉÍý¤¹¤ë¥«¡¼¥Í¥ë¤ÎÆâÉôÇÛÎó¤Ø¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ç¤¢¤ë¡£
384 .\"O .SH "RETURN VALUE"
401 .\"O operation returns the index of the highest used entry in the
402 .\"O kernel's internal array recording information about all
407 Áàºî¤Ï¡¢À®¸ù¤¹¤ë¤È¡¢Á´¤Æ¤Î¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Ë´Ø¤¹¤ë¾ðÊó¤ò
408 ´ÉÍý¤·¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤ÎÆâÉôÇÛÎó¤Î»ÈÍÑÃ楨¥ó¥È¥ê¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Î
410 .\"O (This information can be used with repeated
412 .\"O operations to obtain information about all queues on the system.)
413 (¤³¤Î¾ðÊó¤Ï¡¢¥·¥¹¥Æ¥à¤ÎÁ´¤Æ¤Î¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Ë´Ø¤¹¤ë¾ðÊó¤ò
416 Áàºî¤ò·«¤êÊÖ¤·¼Â¹Ô¤¹¤ëºÝ¤Ë»ÈÍѤǤ¤ë)¡£
419 .\"O operation returns the identifier of the queue whose index was given in
424 ¤Ç»ØÄꤵ¤ì¤¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò»ý¤Ä¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤Î¼±Ê̻ҤòÊÖ¤¹¡£
426 .\"O On error, \-1 is returned with
428 .\"O indicating the error.
429 ¥¨¥é¡¼¤Î¾ì¹ç¤Ï \-1 ¤òÊÖ¤·¡¢
436 .\"O is set to one of the following:
439 ¤Ï°Ê²¼¤ÎÃͤÎÃæ¤Î¤É¤ì¤«°ì¤Ä¤ËÀßÄꤵ¤ì¤ë:
448 .\"O but the calling process does not have read permission on the message queue
450 .\"O and does not have the
451 .\"O .B CAP_IPC_OWNER
459 ¤ËÅù¤·¤¤¤¬¡¢¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤¬¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼
461 ¤ËÂФ¹¤ëÆɤ߹þ¤ßµö²Ä¤ò»ý¤Ã¤Æ¤ª¤é¤º¡¢¤«¤Ä
463 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¡£
472 .\"O but the address pointed to by
474 .\"O isn't accessible.
483 ¤Ç»Ø¤µ¤ì¤Æ¤¤¤ë¥¢¥É¥ì¥¹¤¬¥¢¥¯¥»¥¹²Äǽ¤Ç¤Ê¤¤¡£
486 .\"O The message queue was removed.
487 ¥á¥Ã¥»¡¼¥¸¡¦¥¥å¡¼¤¬ºï½ü¤µ¤ì¤¿¡£
490 .\"O Invalid value for
496 .\"O operation, the index value specified in
498 .\"O referred to an array slot that is currently unused.
502 ¤ËÉÔÀµ¤ÊÃͤ¬ÀßÄꤵ¤ì¤¿¡£
507 ¤Ç»ØÄꤵ¤ì¤¿¥¤¥ó¥Ç¥Ã¥¯¥¹Ãͤ¬¸½ºß̤»ÈÍѤÎÇÛÎó¤Î¥¹¥í¥Ã¥È¤ò»²¾È¤¤¤Æ¤¤¤¿¡£
516 .\"O but the effective user ID of the calling process is not the creator
518 .\"O .IR msg_perm.cuid )
521 .\"O .IR msg_perm.uid )
522 .\"O of the message queue,
523 .\"O and the process is not privileged (Linux: it does not have the
524 .\"O .B CAP_SYS_ADMIN
532 ¤Ç¤¢¤ë¤¬¡¢¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¼Â¸ú¥æ¡¼¥¶ ID ¤¬¥á¥Ã¥»¡¼¥¸¥¥å¡¼¤Î
534 ¤È¤·¤Æ¸«¤Ä¤«¤ë) ºîÀ®¼Ô
537 ¤È¤·¤Æ¸«¤Ä¤«¤ë) ½êͼԤΤ¤¤º¤ì¤Ç¤â¤Ê¤¯¡¢
538 ¤«¤Ä¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤ËÆø¢ (Linux ¤Ç¤Ï
540 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£) ¤¬¤Ê¤¤¡£
541 .\"O .SH "CONFORMING TO"
544 .\"O .\" SVID does not document the EIDRM error condition.
545 .\" SVID ¤Ë¤Ï EIDRM ¥¨¥é¡¼¤Ë¤Ä¤¤¤Æ¤Îµ½Ò¤Ï¤Ê¤¤¡£
553 .\"O operations are used by the
555 .\"O program to provide information on allocated resources.
556 .\"O In the future these may modified or moved to a /proc file system
563 ¥×¥í¥°¥é¥à¤Ç³ä¤êÅö¤ÆºÑ¤Î»ñ¸»¤Ë´Ø¤¹¤ë¾ðÊó¤òÄ󶡤¹¤ë¤¿¤á¤Ë
564 »ÈÍѤµ¤ì¤Æ¤¤¤ë¡£¾Íè¡¢¤³¤ì¤é¤ÎÁàºî¤ÏÊѹ¹¤µ¤ì¤¿¤ê¡¢
565 /proc ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë°ÜÆ°¤µ¤ì¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
568 .\"O Various fields in the \fIstruct msqid_ds\fP were
574 .\"O under Linux 2.4.
575 .\"O To take advantage of this,
576 .\"O a recompilation under glibc-2.1.91 or later should suffice.
577 .\"O (The kernel distinguishes old and new calls by an
581 \fIstruct msqid_ds\fP Æâ¤Î¿¤¯¤Î¥Õ¥£¡¼¥ë¥É¤Ï¡¢
584 ¤À¤Ã¤¿¤¬¡¢Linux 2.4 ¤Ç¤Ï
587 ¤³¤ÎÍøÅÀ¤òÀ¸¤«¤¹¤Ë¤Ï¡¢glibc-2.1.91 °Ê¹ß¤Î´Ä¶²¼¤Ç
588 ºÆ¥³¥ó¥Ñ¥¤¥ë¤¹¤ì¤Ð½½Ê¬¤Ç¤¢¤ë¡£
589 (¥«¡¼¥Í¥ë¤Ï¿·¤·¤¤·Á¼°¤Î¸Æ¤Ó½Ð¤·¤È¸Å¤¤·Á¼°¤Î¸Æ¤Ó½Ð¤·¤ò
599 .BR capabilities (7),