Debian Codegraph @

templates/man2/msgctl.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:32+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "msgctl"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-11"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "msgctl - System V message control operations"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/msg.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int msgctl(int >I<msqid>B<, int >I<op>B<, struct msqid_ds *>I<buf>B<);>\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "DESCRIPTION"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "B<msgctl>() performs the control operation specified by I<op> on the "
98 "System\\ V message queue with identifier I<msqid>."
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "The I<msqid_ds> data structure is defined in I<E<lt>sys/msg.hE<gt>> as "
106 "follows:"
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 "struct msqid_ds {\n"
115 " struct ipc_perm msg_perm; /* Ownership and permissions */\n"
116 " time_t msg_stime; /* Time of last msgsnd(2) */\n"
117 " time_t msg_rtime; /* Time of last msgrcv(2) */\n"
118 " time_t msg_ctime; /* Time of creation or last\n"
119 " modification by msgctl() */\n"
120 " unsigned long msg_cbytes; /* # of bytes in queue */\n"
121 " msgqnum_t msg_qnum; /* # number of messages in queue */\n"
122 " msglen_t msg_qbytes; /* Maximum # of bytes in queue */\n"
123 " pid_t msg_lspid; /* PID of last msgsnd(2) */\n"
124 " pid_t msg_lrpid; /* PID of last msgrcv(2) */\n"
125 "};\n"
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid "The fields of the I<msqid_ds> structure are as follows:"
132 msgstr ""
133
134 #. type: TP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "I<msg_perm>"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "This is an I<ipc_perm> structure (see below) that specifies the access "
146 "permissions on the message queue."
147 msgstr ""
148
149 #. type: TP
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "I<msg_stime>"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid "Time of the last B<msgsnd>(2) system call."
160 msgstr ""
161
162 #. type: TP
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "I<msg_rtime>"
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid "Time of the last B<msgrcv>(2) system call."
173 msgstr ""
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "I<msg_ctime>"
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "Time of creation of queue or time of last B<msgctl>() B<IPC_SET> operation."
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "I<msg_cbytes>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "Number of bytes in all messages currently on the message queue. This is a "
201 "nonstandard Linux extension that is not specified in POSIX."
202 msgstr ""
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "I<msg_qnum>"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid "Number of messages currently on the message queue."
215 msgstr ""
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "I<msg_qbytes>"
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "Maximum number of bytes of message text allowed on the message queue."
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "I<msg_lspid>"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "ID of the process that performed the last B<msgsnd>(2) system call."
241 msgstr ""
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "I<msg_lrpid>"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "ID of the process that performed the last B<msgrcv>(2) system call."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
261 "settable using B<IPC_SET>):"
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
266 #: opensuse-tumbleweed
267 #, no-wrap
268 msgid ""
269 "struct ipc_perm {\n"
270 " key_t __key; /* Key supplied to msgget(2) */\n"
271 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
272 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
273 " uid_t cuid; /* Effective UID of creator */\n"
274 " gid_t cgid; /* Effective GID of creator */\n"
275 " unsigned short \\f[B]mode\\fR; /* Permissions */\n"
276 " unsigned short __seq; /* Sequence number */\n"
277 "};\n"
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
285 "structure define the access permissions for the message queue. The "
286 "permission bits are as follows:"
287 msgstr ""
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "0400"
294 msgstr ""
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "Read by user"
301 msgstr ""
302
303 #. type: tbl table
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "0200"
308 msgstr ""
309
310 #. type: tbl table
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "Write by user"
315 msgstr ""
316
317 #. type: tbl table
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "0040"
322 msgstr ""
323
324 #. type: tbl table
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "Read by group"
329 msgstr ""
330
331 #. type: tbl table
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "0020"
336 msgstr ""
337
338 #. type: tbl table
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "Write by group"
343 msgstr ""
344
345 #. type: tbl table
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "0004"
350 msgstr ""
351
352 #. type: tbl table
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "Read by others"
357 msgstr ""
358
359 #. type: tbl table
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "0002"
364 msgstr ""
365
366 #. type: tbl table
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "Write by others"
371 msgstr ""
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "Bits 0100, 0010, and 0001 (the execute bits) are unused by the system."
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid "Valid values for I<op> are:"
383 msgstr ""
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<IPC_STAT>"
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "Copy information from the kernel data structure associated with I<msqid> "
397 "into the I<msqid_ds> structure pointed to by I<buf>. The caller must have "
398 "read permission on the message queue."
399 msgstr ""
400
401 #. type: TP
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "B<IPC_SET>"
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid ""
412 "Write the values of some members of the I<msqid_ds> structure pointed to by "
413 "I<buf> to the kernel data structure associated with this message queue, "
414 "updating also its I<msg_ctime> member."
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "The following members of the structure are updated: I<msg_qbytes>, "
422 "I<msg_perm.uid>, I<msg_perm.gid>, and (the least significant 9 bits of) "
423 "I<msg_perm.mode>."
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "The effective UID of the calling process must match the owner "
431 "(I<msg_perm.uid>) or creator (I<msg_perm.cuid>) of the message queue, or "
432 "the caller must be privileged. Appropriate privilege (Linux: the "
433 "B<CAP_SYS_RESOURCE> capability) is required to raise the I<msg_qbytes> value "
434 "beyond the system parameter B<MSGMNB>."
435 msgstr ""
436
437 #. type: TP
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "B<IPC_RMID>"
442 msgstr ""
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid ""
448 "Immediately remove the message queue, awakening all waiting reader and "
449 "writer processes (with an error return and I<errno> set to B<EIDRM>). The "
450 "calling process must have appropriate privileges or its effective user ID "
451 "must be either that of the creator or owner of the message queue. The third "
452 "argument to B<msgctl>() is ignored in this case."
453 msgstr ""
454
455 #. type: TP
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "B<IPC_INFO> (Linux-specific)"
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "Return information about system-wide message queue limits and parameters in "
467 "the structure pointed to by I<buf>. This structure is of type I<msginfo> "
468 "(thus, a cast is required), defined in I<E<lt>sys/msg.hE<gt>> if the "
469 "B<_GNU_SOURCE> feature test macro is defined:"
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid ""
477 "struct msginfo {\n"
478 " int msgpool; /* Size in kibibytes of buffer pool\n"
479 " used to hold message data;\n"
480 " unused within kernel */\n"
481 " int msgmap; /* Maximum number of entries in message\n"
482 " map; unused within kernel */\n"
483 " int msgmax; /* Maximum number of bytes that can be\n"
484 " written in a single message */\n"
485 " int msgmnb; /* Maximum number of bytes that can be\n"
486 " written to queue; used to initialize\n"
487 " msg_qbytes during queue creation\n"
488 " (msgget(2)) */\n"
489 " int msgmni; /* Maximum number of message queues */\n"
490 " int msgssz; /* Message segment size;\n"
491 " unused within kernel */\n"
492 " int msgtql; /* Maximum number of messages on all queues\n"
493 " in system; unused within kernel */\n"
494 " unsigned short msgseg;\n"
495 " /* Maximum number of segments;\n"
496 " unused within kernel */\n"
497 "};\n"
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "The I<msgmni>, I<msgmax>, and I<msgmnb> settings can be changed via I</proc> "
505 "files of the same name; see B<proc>(5) for details."
506 msgstr ""
507
508 #. type: TP
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "B<MSG_INFO> (Linux-specific)"
513 msgstr ""
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid ""
519 "Return a I<msginfo> structure containing the same information as for "
520 "B<IPC_INFO>, except that the following fields are returned with information "
521 "about system resources consumed by message queues: the I<msgpool> field "
522 "returns the number of message queues that currently exist on the system; the "
523 "I<msgmap> field returns the total number of messages in all queues on the "
524 "system; and the I<msgtql> field returns the total number of bytes in all "
525 "messages in all queues on the system."
526 msgstr ""
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<MSG_STAT> (Linux-specific)"
533 msgstr ""
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "Return a I<msqid_ds> structure as for B<IPC_STAT>. However, the I<msqid> "
540 "argument is not a queue identifier, but instead an index into the kernel's "
541 "internal array that maintains information about all message queues on the "
542 "system."
543 msgstr ""
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<MSG_STAT_ANY> (Linux-specific, since Linux 4.17)"
550 msgstr ""
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "Return a I<msqid_ds> structure as for B<MSG_STAT>. However, "
557 "I<msg_perm.mode> is not checked for read access for I<msqid> meaning that "
558 "any user can employ this operation (just as any user may read I</proc/"
559 "sysvipc/msg> to obtain the same information)."
560 msgstr ""
561
562 #. type: SH
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "RETURN VALUE"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "On success, B<IPC_STAT>, B<IPC_SET>, and B<IPC_RMID> return 0. A successful "
574 "B<IPC_INFO> or B<MSG_INFO> operation returns the index of the highest used "
575 "entry in the kernel's internal array recording information about all message "
576 "queues. (This information can be used with repeated B<MSG_STAT> or "
577 "B<MSG_STAT_ANY> operations to obtain information about all queues on the "
578 "system.) A successful B<MSG_STAT> or B<MSG_STAT_ANY> operation returns the "
579 "identifier of the queue whose index was given in I<msqid>."
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid "On failure, -1 is returned and I<errno> is set to indicate the error."
586 msgstr ""
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "ERRORS"
593 msgstr ""
594
595 #. type: TP
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 #, no-wrap
599 msgid "B<EACCES>"
600 msgstr ""
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "The argument I<op> is equal to B<IPC_STAT> or B<MSG_STAT>, but the calling "
607 "process does not have read permission on the message queue I<msqid>, and "
608 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
609 "governs its IPC namespace."
610 msgstr ""
611
612 #. type: TP
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "B<EFAULT>"
617 msgstr ""
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "The argument I<op> has the value B<IPC_SET> or B<IPC_STAT>, but the address "
624 "pointed to by I<buf> isn't accessible."
625 msgstr ""
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<EIDRM>"
632 msgstr ""
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid "The message queue was removed."
638 msgstr ""
639
640 #. type: TP
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, no-wrap
644 msgid "B<EINVAL>"
645 msgstr ""
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid ""
651 "Invalid value for I<op> or I<msqid>. Or: for a B<MSG_STAT> operation, the "
652 "index value specified in I<msqid> referred to an array slot that is "
653 "currently unused."
654 msgstr ""
655
656 #. type: TP
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "B<EPERM>"
661 msgstr ""
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "The argument I<op> has the value B<IPC_SET> or B<IPC_RMID>, but the "
668 "effective user ID of the calling process is not the creator (as found in "
669 "I<msg_perm.cuid>) or the owner (as found in I<msg_perm.uid>) of the "
670 "message queue, and the caller is not privileged (Linux: does not have the "
671 "B<CAP_SYS_ADMIN> capability)."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "An attempt (B<IPC_SET>) was made to increase I<msg_qbytes> beyond the "
679 "system parameter B<MSGMNB>, but the caller is not privileged (Linux: does "
680 "not have the B<CAP_SYS_RESOURCE> capability)."
681 msgstr ""
682
683 #. type: SH
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "STANDARDS"
688 msgstr ""
689
690 #. type: Plain text
691 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
692 #: opensuse-tumbleweed
693 msgid "POSIX.1-2024 XSI."
694 msgstr ""
695
696 #. type: SH
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "HISTORY"
701 msgstr ""
702
703 #. SVID does not document the EIDRM error condition.
704 #. type: Plain text
705 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
706 #: opensuse-tumbleweed
707 msgid "SVr4, SUSv1, POSIX.1-2001 XSI."
708 msgstr ""
709
710 #. type: Plain text
711 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
712 #: opensuse-tumbleweed
713 msgid ""
714 "Various fields in the I<struct\\ msqid_ds> were typed as I<short> under "
715 "Linux 2.2 and have become I<long> under Linux 2.4. To take advantage of "
716 "this, a recompilation under glibc-2.1.91 or later should suffice. (The "
717 "kernel distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
718 msgstr ""
719
720 #. type: SH
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "NOTES"
725 msgstr ""
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "The B<IPC_INFO>, B<MSG_STAT>, and B<MSG_INFO> operations are used by the "
732 "B<ipcs>(1) program to provide information on allocated resources. In the "
733 "future these may modified or moved to a I</proc> filesystem interface."
734 msgstr ""
735
736 #. type: SH
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "SEE ALSO"
741 msgstr ""
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 msgid ""
747 "B<msgget>(2), B<msgrcv>(2), B<msgsnd>(2), B<capabilities>(7), "
748 "B<mq_overview>(7), B<sysvipc>(7)"
749 msgstr ""
750
751 #. type: TH
752 #: debian-trixie
753 #, no-wrap
754 msgid "2024-05-02"
755 msgstr ""
756
757 #. type: TH
758 #: debian-trixie
759 #, no-wrap
760 msgid "Linux man-pages 6.9.1"
761 msgstr ""
762
763 #. type: Plain text
764 #: debian-trixie
765 msgid "Standard C library (I<libc>, I<-lc>)"
766 msgstr ""
767
768 #. type: Plain text
769 #: debian-trixie fedora-44 fedora-rawhide
770 #, no-wrap
771 msgid ""
772 "struct ipc_perm {\n"
773 " key_t __key; /* Key supplied to msgget(2) */\n"
774 " uid_t B<uid>; /* Effective UID of owner */\n"
775 " gid_t B<gid>; /* Effective GID of owner */\n"
776 " uid_t cuid; /* Effective UID of creator */\n"
777 " gid_t cgid; /* Effective GID of creator */\n"
778 " unsigned short B<mode>; /* Permissions */\n"
779 " unsigned short __seq; /* Sequence number */\n"
780 "};\n"
781 msgstr ""
782
783 #. type: Plain text
784 #: debian-trixie fedora-44 fedora-rawhide
785 msgid "POSIX.1-2008."
786 msgstr ""
787
788 #. SVID does not document the EIDRM error condition.
789 #. type: Plain text
790 #: debian-trixie fedora-44 fedora-rawhide
791 msgid "POSIX.1-2001, SVr4."
792 msgstr ""
793
794 #. type: Plain text
795 #: debian-trixie fedora-44 fedora-rawhide
796 msgid ""
797 "Various fields in the I<struct msqid_ds> were typed as I<short> under Linux "
798 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
799 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
800 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
801 msgstr ""
802
803 #. type: TH
804 #: fedora-44 fedora-rawhide
805 #, no-wrap
806 msgid "2024-07-23"
807 msgstr ""
808
809 #. type: TH
810 #: fedora-44 fedora-rawhide
811 #, no-wrap
812 msgid "Linux man-pages 6.13"
813 msgstr ""
814
815 #. type: TH
816 #: mageia-cauldron
817 #, no-wrap
818 msgid "Linux man-pages 6.17"
819 msgstr ""
820
821 #. type: TH
822 #: opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "Linux man-pages (unreleased)"
825 msgstr ""