Debian Codegraph @

po/es/man2/msgop.2.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Gerardo Aburruzaga García <[email protected]>, 1998.
5 # Miguel Pérez Ibars <[email protected]>, 2004.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:32+0200\n"
10 "PO-Revision-Date: 2004-09-17 19:53+0200\n"
11 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
12 "Language-Team: Spanish <[email protected]>\n"
13 "Language: es\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Lokalize 20.04.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "MSGOP"
25 msgstr "MSGOP"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-11"
32 msgstr "11 Febrero 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, fuzzy
52 #| msgid "msgop - message operations"
53 msgid "msgrcv, msgsnd - System V message queue operations"
54 msgstr "msgop - operaciones con mensajes"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>sys/msg.hE<gt>>\n"
81 msgstr "B<#include E<lt>sys/msg.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| msgid ""
88 #| "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
89 #| "B< int >I<msgflg>B<);>\n"
90 msgid ""
91 "B<ssize_t msgrcv(>size_t msgsz;\n"
92 "B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
93 "B< int >I<msgflg>B<);>\n"
94 msgstr ""
95 "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
96 "B< int >I<msgflg>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
100 #: opensuse-tumbleweed
101 #, fuzzy, no-wrap
102 #| msgid "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
103 msgid ""
104 "B<int msgsnd(>size_t msgsz;\n"
105 "B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
106 "B< int >I<msgflg>B<);>\n"
107 msgstr "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
108
109 #. type: SH
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "DESCRIPTION"
114 msgstr "DESCRIPCIÓN"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "The B<msgsnd>() and B<msgrcv>() system calls are used to send messages to, "
121 "and receive messages from, a System\\ V message queue. The calling process "
122 "must have write permission on the message queue in order to send a message, "
123 "and read permission to receive a message."
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, fuzzy
130 #| msgid ""
131 #| "The I<msgflg> argument asserts none, one or more (or-ing them) of the "
132 #| "following flags:"
133 msgid ""
134 "The I<msgp> argument is a pointer to a caller-defined structure of the "
135 "following general form:"
136 msgstr ""
137 "El argumento I<msgflg> continene ninguna, una o más (engarzándolas con el "
138 "operador OR) de entre las siguientes opciones:"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid ""
145 "struct msgbuf {\n"
146 " long mtype; /* message type, must be E<gt> 0 */\n"
147 " char mtext[1]; /* message data */\n"
148 "};\n"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The I<mtext> field is an array (or other structure) whose size is specified "
156 "by I<msgsz>, a nonnegative integer value. Messages of zero length (i.e., no "
157 "I<mtext> field) are permitted. The I<mtype> field must have a strictly "
158 "positive integer value. This value can be used by the receiving process for "
159 "message selection (see the description of B<msgrcv>() below)."
160 msgstr ""
161 "El campo B<mtext> es un vector (u otra estructura) cuyo tamaño viene "
162 "determinado por I<msgsz>, un valor entero no negativo. Los mensajes de "
163 "longitud cero (p.e., sin campo I<mtext>) están permitidos. El campo "
164 "I<mtype> debe tener un valor entero estrictamente positivo que puede ser "
165 "empleado por el proceso receptor para la selección de mensaje (vea la "
166 "sección sobre B<msgrcv>())."
167
168 #. type: SS
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "msgsnd()"
173 msgstr "msgsnd()"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "The B<msgsnd>() system call appends a copy of the message pointed to by "
180 "I<msgp> to the message queue whose identifier is specified by I<msqid>."
181 msgstr ""
182 "La llamada al sistema B<msgsnd>() añade una copia del mensaje apuntado por "
183 "I<msgp> a la cola de mensaje cuyo identificador se especifica por el valor "
184 "de I<msqid>."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, fuzzy
190 #| msgid ""
191 #| "If sufficient space is available on the queue, B<msgsnd> succeeds "
192 #| "immediately. (The queue capacity is defined by the I<msg_bytes> field in "
193 #| "the associated data structure for the message queue. During queue "
194 #| "creation this field is initialised to B<MSGMNB> bytes, but this limit can "
195 #| "be modified using B<msgctl>.) If insufficient space is available on the "
196 #| "queue, then the default behaviour of B<msgsnd> is to block until space "
197 #| "becomes available. If B<IPC_NOWAIT> is asserted in B<msgflg> then the "
198 #| "call instead fails with the error B<EAGAIN>."
199 msgid ""
200 "If sufficient space is available in the queue, B<msgsnd>() succeeds "
201 "immediately. The queue capacity is governed by the I<msg_qbytes> field in "
202 "the associated data structure for the message queue. During queue creation "
203 "this field is initialized to B<MSGMNB> bytes, but this limit can be modified "
204 "using B<msgctl>(2). A message queue is considered to be full if either of "
205 "the following conditions is true:"
206 msgstr ""
207 "Si hay suficiente espacio disponible en la cola, B<msgsnd> termina con éxito "
208 "inmediatamente. (La capacidad de la cola está definida por el campo "
209 "I<msg_bytes> en la estructura de datos asociada a la cola de mensajes. "
210 "Durante la creación de la cola este campo es inicializado a B<MSGMNB> bytes, "
211 "pero este límite puede ser modificado usando B<msgctl>.) Si no hay "
212 "suficiente espacio disponible en la cola, el comportamiento por defecto de "
213 "B<msgsnd> es bloquearse hasta que se disponga del espacio. Si B<IPC_NOWAIT> "
214 "está contenida en B<msgflg> la llamada falla con el error B<EAGAIN>."
215
216 #. type: IP
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "\\[bu]"
221 msgstr "\\[bu]"
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "Adding a new message to the queue would cause the total number of bytes in "
228 "the queue to exceed the queue's maximum size (the I<msg_qbytes> field)."
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "Adding another message to the queue would cause the total number of messages "
236 "in the queue to exceed the queue's maximum size (the I<msg_qbytes> field). "
237 "This check is necessary to prevent an unlimited number of zero-length "
238 "messages being placed on the queue. Although such messages contain no data, "
239 "they nevertheless consume (locked) kernel memory."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "If insufficient space is available in the queue, then the default behavior "
247 "of B<msgsnd>() is to block until space becomes available. If B<IPC_NOWAIT> "
248 "is specified in I<msgflg>, then the call instead fails with the error "
249 "B<EAGAIN>."
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid "A blocked B<msgsnd>() call may also fail if:"
256 msgstr ""
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, fuzzy
262 #| msgid ""
263 #| "The message queue is removed from the system. In this case the system "
264 #| "call fails with I<errno> set to B<EIDRM>."
265 msgid ""
266 "the queue is removed, in which case the system call fails with I<errno> set "
267 "to B<EIDRM>; or"
268 msgstr ""
269 "La cola de mensajes se borre del sistema. En este caso la llamada al "
270 "sistema falla con el valor B<EIDRM> en I<errno>."
271
272 #. type: Plain text
273 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
274 #: opensuse-tumbleweed
275 #, fuzzy
276 #| msgid ""
277 #| "A blocked B<msgsnd> call may also fail if the queue is removed (in which "
278 #| "case the system call fails with I<errno> set to B<EIDRM>), or a signal is "
279 #| "caught (in which case the system call fails with I<errno> set to "
280 #| "B<EINTR>). (B<msgsnd> and B<msgrcv> are never automatically restarted "
281 #| "after being interrupted by a signal handler, regardless of the setting of "
282 #| "the B<SA_RESTART> flag when establishing a signal handler.)"
283 msgid ""
284 "a signal is caught, in which case the system call fails with I<errno> set to "
285 "B<EINTR>; see B<signal>(7). (B<msgsnd>() is never automatically restarted "
286 "after being interrupted by a signal handler, regardless of the setting of "
287 "the B<SA_RESTART> flag when establishing a signal handler.)"
288 msgstr ""
289 "Una llamada B<msgsnd> bloqueada puede fallar también si la cola es eliminada "
290 "(en tal caso la llamada al sistema falla poniendo el valor B<EIDRM> en "
291 "I<errno>), o si se atrapa una señal (en tal caso la llamada al sistem falla "
292 "poniendo el valor B<EINTR> en I<errno>). (B<msgsnd> y B<msgrcv> no son "
293 "nunca reiniciadas automáticamente después de haber sido interrumpidas por un "
294 "manejador de señales, a pesar de haber especificado la opción B<SA_RESTART> "
295 "cuando se estableció el manejador de señales.)"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "Upon successful completion the message queue data structure is updated as "
302 "follows:"
303 msgstr ""
304 "Tras la terminación con éxito de la llamada, la estructura de datos de la "
305 "cola de mensajes se actualiza como sigue:"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid "I<msg_lspid> is set to the process ID of the calling process."
311 msgstr "I<msg_lspid> toma el valor del PID del proceso invocador."
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid "I<msg_qnum> is incremented by 1."
317 msgstr "I<msg_qnum> se incrementa en una unidad."
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid "I<msg_stime> is set to the current time."
323 msgstr "I<msg_stime> toma el valor de la hora actual."
324
325 #. type: SS
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "msgrcv()"
330 msgstr "msgrcv()"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, fuzzy
336 #| msgid ""
337 #| "The system call B<msgrcv> reads a message from the message queue "
338 #| "specified by I<msqid> into the I<msgbuf> pointed to by the I<msgp> "
339 #| "argument, removing the read message from the queue."
340 msgid ""
341 "The B<msgrcv>() system call removes a message from the queue specified by "
342 "I<msqid> and places it in the buffer pointed to by I<msgp>."
343 msgstr ""
344 "La llamada al sistema B<msgrcv> lee un mensaje de la cola de mensajes "
345 "especificada por I<msqid> y lo guarda en la estructura I<msgbuf> apuntada "
346 "por el argumento I<msgp>, borrando el mensaje leido de la cola."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, fuzzy
352 #| msgid ""
353 #| "The argument I<msgsz> specifies the maximum size in bytes for the member "
354 #| "I<mtext> of the structure pointed to by the I<msgp> argument. If the "
355 #| "message text has length greater than I<msgsz>, then if the I<msgflg> "
356 #| "argument asserts B<MSG_NOERROR>, the message text will be truncated (and "
357 #| "the truncated part will be lost), otherwise the message isn't removed "
358 #| "from the queue and the system call fails returning with I<errno> set to "
359 #| "B<E2BIG>."
360 msgid ""
361 "The argument I<msgsz> specifies the maximum size in bytes for the member "
362 "I<mtext> of the structure pointed to by the I<msgp> argument. If the "
363 "message text has length greater than I<msgsz>, then the behavior depends on "
364 "whether B<MSG_NOERROR> is specified in I<msgflg>. If B<MSG_NOERROR> is "
365 "specified, then the message text will be truncated (and the truncated part "
366 "will be lost); if B<MSG_NOERROR> is not specified, then the message isn't "
367 "removed from the queue and the system call fails returning -1 with I<errno> "
368 "set to B<E2BIG>."
369 msgstr ""
370 "El argumento I<msgsz> especifica el tamaño máximo en bytes para el miembro "
371 "I<mtext> de la estructura apuntada por el argumento I<msgp>. Si el texto "
372 "del mensaje tiene una longitud mayor de I<msgsz>, entonces si el argumento "
373 "I<msgflg> contiene B<MSG_NOERROR>, el texto del mensaje se truncará (y la "
374 "parte truncada se perderá), y si no, el mensaje no se borra de la cola y la "
375 "llamada al sistema falla regresando y poniendo el valor B<E2BIG> en I<errno>."
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, fuzzy
381 #| msgid ""
382 #| "The argument I<msgtyp> specifies the type of message requested as follows:"
383 msgid ""
384 "Unless B<MSG_COPY> is specified in I<msgflg> (see below), the I<msgtyp> "
385 "argument specifies the type of message requested, as follows:"
386 msgstr ""
387 "El argumento I<msgtyp> especifica el tipo de mensaje pedido como se muestra "
388 "a continuación:"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "If I<msgtyp> is 0, then the first message in the queue is read."
394 msgstr "Si I<msgtyp> es 0, entonces se lee el primer mensaje de la cola."
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, fuzzy
400 #| msgid ""
401 #| "If I<msgtyp> is greater than B<0>, then the first message on the queue of "
402 #| "type I<msgtyp> is read, unless B<MSG_EXCEPT> was asserted in I<msgflg>, "
403 #| "in which case the first message on the queue of type not equal to "
404 #| "I<msgtyp> will be read."
405 msgid ""
406 "If I<msgtyp> is greater than 0, then the first message in the queue of type "
407 "I<msgtyp> is read, unless B<MSG_EXCEPT> was specified in I<msgflg>, in which "
408 "case the first message in the queue of type not equal to I<msgtyp> will be "
409 "read."
410 msgstr ""
411 "Si I<msgtyp> es mayor que B<0>, entonces se lee el primer mensaje en la cola "
412 "del tipo I<msgtyp> a menos que B<MSG_EXCEPT> estuviera contenido en "
413 "I<msgflg>, en cuyo caso se lee el primer mensaje en la cola de tipo distinto "
414 "a I<msgtyp>."
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "If I<msgtyp> is less than 0, then the first message in the queue with the "
421 "lowest type less than or equal to the absolute value of I<msgtyp> will be "
422 "read."
423 msgstr ""
424 "Si I<msgtyp> es menor que 0, entonces se leerá el primer mensaje en la cola "
425 "con el tipo más bajo menor o igual al valor absoluto de I<msgtyp>."
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, fuzzy
431 #| msgid ""
432 #| "The I<msgflg> argument asserts none, one or more (or-ing them) of the "
433 #| "following flags:"
434 msgid ""
435 "The I<msgflg> argument is a bit mask constructed by ORing together zero or "
436 "more of the following flags:"
437 msgstr ""
438 "El argumento I<msgflg> continene ninguna, una o más (engarzándolas con el "
439 "operador OR) de entre las siguientes opciones:"
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<IPC_NOWAIT>"
446 msgstr "B<IPC_NOWAIT>"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Return immediately if no message of the requested type is in the queue. The "
453 "system call fails with I<errno> set to B<ENOMSG>."
454 msgstr ""
455 "Para retorno inmediato si no hay en la cola ningún mensaje del tipo pedido. "
456 "La llamada al sistema falla con el valor B<ENOMSG> en I<errno>."
457
458 #. type: TP
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "B<MSG_COPY> (since Linux 3.8)"
463 msgstr "B<MSG_COPY> (desde Linux 3.8)"
464
465 #. commit 4a674f34ba04a002244edaf891b5da7fc1473ae8
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "Nondestructively fetch a copy of the message at the ordinal position in the "
471 "queue specified by I<msgtyp> (messages are considered to be numbered "
472 "starting at 0)."
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "This flag must be specified in conjunction with B<IPC_NOWAIT>, with the "
480 "result that, if there is no message available at the given position, the "
481 "call fails immediately with the error B<ENOMSG>. Because they alter the "
482 "meaning of I<msgtyp> in orthogonal ways, B<MSG_COPY> and B<MSG_EXCEPT> may "
483 "not both be specified in I<msgflg>."
484 msgstr ""
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "The B<MSG_COPY> flag was added for the implementation of the kernel "
491 "checkpoint-restore facility and is available only if the kernel was built "
492 "with the B<CONFIG_CHECKPOINT_RESTORE> option."
493 msgstr ""
494
495 #. type: TP
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<MSG_EXCEPT>"
500 msgstr "B<MSG_EXCEPT>"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "Used with I<msgtyp> greater than 0 to read the first message in the queue "
507 "with message type that differs from I<msgtyp>."
508 msgstr ""
509 "Empleado con I<msgtyp> mayor que 0 para leer el primer mensaje en la cola "
510 "con tipo de mensaje diferente de I<msgtyp>."
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<MSG_NOERROR>"
517 msgstr "B<MSG_NOERROR>"
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid "To truncate the message text if longer than I<msgsz> bytes."
523 msgstr "Para truncar el texto del mensaje si es mayor que I<msgsz> bytes."
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, fuzzy
529 #| msgid ""
530 #| "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
531 #| "asserted in I<msgflg>, the calling process is blocked until one of the "
532 #| "following conditions occurs:"
533 msgid ""
534 "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
535 "specified in I<msgflg>, the calling process is blocked until one of the "
536 "following conditions occurs:"
537 msgstr ""
538 "Si no hay disponible un mensaje del tipo pedido e B<IPC_NOWAIT> no está "
539 "contenido en I<msgflg>, el proceso invocador se bloquea hasta que ocurra una "
540 "de las siguientes condiciones:"
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "A message of the desired type is placed in the queue."
546 msgstr "Un mensaje del tipo deseado se ponga en la cola."
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "The message queue is removed from the system. In this case, the system call "
553 "fails with I<errno> set to B<EIDRM>."
554 msgstr ""
555 "La cola de mensajes se borre del sistema. En este caso la llamada al "
556 "sistema falla con el valor B<EIDRM> en I<errno>."
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, fuzzy
562 #| msgid ""
563 #| "A blocked B<msgsnd> call may also fail if the queue is removed (in which "
564 #| "case the system call fails with I<errno> set to B<EIDRM>), or a signal is "
565 #| "caught (in which case the system call fails with I<errno> set to "
566 #| "B<EINTR>). (B<msgsnd> and B<msgrcv> are never automatically restarted "
567 #| "after being interrupted by a signal handler, regardless of the setting of "
568 #| "the B<SA_RESTART> flag when establishing a signal handler.)"
569 msgid ""
570 "The calling process catches a signal. In this case, the system call fails "
571 "with I<errno> set to B<EINTR>. (B<msgrcv>() is never automatically "
572 "restarted after being interrupted by a signal handler, regardless of the "
573 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
574 msgstr ""
575 "Una llamada B<msgsnd> bloqueada puede fallar también si la cola es eliminada "
576 "(en tal caso la llamada al sistema falla poniendo el valor B<EIDRM> en "
577 "I<errno>), o si se atrapa una señal (en tal caso la llamada al sistem falla "
578 "poniendo el valor B<EINTR> en I<errno>). (B<msgsnd> y B<msgrcv> no son "
579 "nunca reiniciadas automáticamente después de haber sido interrumpidas por un "
580 "manejador de señales, a pesar de haber especificado la opción B<SA_RESTART> "
581 "cuando se estableció el manejador de señales.)"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid "I<msg_lrpid> is set to the process ID of the calling process."
587 msgstr "I<msg_lrpid> toma el valor del PID del proceso invocador."
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid "I<msg_qnum> is decremented by 1."
593 msgstr "I<msg_qnum> se decrementa en una unidad."
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid "I<msg_rtime> is set to the current time."
599 msgstr "I<msg_rtime> toma el valor de la hora actual."
600
601 #. type: SH
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "RETURN VALUE"
606 msgstr "VALOR DEVUELTO"
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, fuzzy
612 #| msgid ""
613 #| "On failure both functions return -1 with I<errno> indicating the error, "
614 #| "otherwise B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
615 #| "bytes actually copied into the I<mtext> array."
616 msgid ""
617 "On success, B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
618 "bytes actually copied into the I<mtext> array. On failure, both functions "
619 "return -1, and set I<errno> to indicate the error."
620 msgstr ""
621 "En caso de fallo ambas funciones devuelven -1 con I<errno> indicando el "
622 "error, en caso contrario B<msgsnd>() devuelve 0 y B<msgrvc>() devuelve el "
623 "número de bytes realmente copiados en el vector I<mtext>."
624
625 #. type: SH
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "ERRORS"
630 msgstr "ERRORES"
631
632 #. type: Plain text
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, fuzzy
636 #| msgid ""
637 #| "When B<msgsnd> fails, at return I<errno> will be set to one among the "
638 #| "following values:"
639 msgid "B<msgsnd>() can fail with the following errors:"
640 msgstr ""
641 "Si B<msgsnd> falla, cuando la función regresa, I<errno> cogerá uno de entre "
642 "los siguientes valores:"
643
644 #. type: TP
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "B<EACCES>"
649 msgstr "B<EACCES>"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "The calling process does not have write permission on the message queue, and "
656 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
657 "governs its IPC namespace."
658 msgstr ""
659
660 #. type: TP
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "B<EAGAIN>"
665 msgstr "B<EAGAIN>"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, fuzzy
671 #| msgid ""
672 #| "The message can't be sent due to the I<msg_qbytes> limit for the queue "
673 #| "and B<IPC_NOWAIT> was asserted in I<mgsflg>."
674 msgid ""
675 "The message can't be sent due to the I<msg_qbytes> limit for the queue and "
676 "B<IPC_NOWAIT> was specified in I<msgflg>."
677 msgstr ""
678 "El mensaje no puede ser enviado debido al límite para la cola de "
679 "I<msg_qbytes> bytes, e B<IPC_NOWAIT> estaba contenido en I<mgsflg>."
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<EFAULT>"
686 msgstr "B<EFAULT>"
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid "The address pointed to by I<msgp> isn't accessible."
692 msgstr "La dirección apuntada por I<msgp> no es accesible."
693
694 #. type: TP
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "B<EIDRM>"
699 msgstr "B<EIDRM>"
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 msgid "The message queue was removed."
705 msgstr "La cola de mensajes fue borrada."
706
707 #. type: TP
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "B<EINTR>"
712 msgstr "B<EINTR>"
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid ""
718 "Sleeping on a full message queue condition, the process caught a signal."
719 msgstr ""
720 "Durmiendo a la espera de una condición de cola de mensajes llena, el proceso "
721 "capturó una señal."
722
723 #. type: TP
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 #, no-wrap
727 msgid "B<EINVAL>"
728 msgstr "B<EINVAL>"
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "Invalid I<msqid> value, or nonpositive I<mtype> value, or invalid I<msgsz> "
735 "value (less than 0 or greater than the system value B<MSGMAX>)."
736 msgstr ""
737 "Valor inválido para I<msqid>, o valor no positivo de I<mtype>, o valor "
738 "inválido para I<msgsz> (menor que 0 ó mayor que el valor del sistema "
739 "B<MSGMAX>)."
740
741 #. type: TP
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "B<ENOMEM>"
746 msgstr "B<ENOMEM>"
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, fuzzy
752 #| msgid ""
753 #| "The system has not enough memory to make a copy of the supplied I<msgbuf>."
754 msgid ""
755 "The system does not have enough memory to make a copy of the message pointed "
756 "to by I<msgp>."
757 msgstr ""
758 "El sistema no tiene bastante memoria para hacer una copia del I<msgbuf> "
759 "suministrado."
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, fuzzy
765 #| msgid ""
766 #| "When B<msgrcv> fails, at return I<errno> will be set to one among the "
767 #| "following values:"
768 msgid "B<msgrcv>() can fail with the following errors:"
769 msgstr ""
770 "Si B<msgrcv> falla, cuando la función regresa, I<errno> tomará uno de entre "
771 "los valores siguientes:"
772
773 #. type: TP
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 #, no-wrap
777 msgid "B<E2BIG>"
778 msgstr "B<E2BIG>"
779
780 #. type: Plain text
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, fuzzy
784 #| msgid ""
785 #| "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
786 #| "asserted in I<msgflg>."
787 msgid ""
788 "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
789 "specified in I<msgflg>."
790 msgstr ""
791 "La longitud del texto del mensaje es mayor que I<msgsz> y B<MSG_NOERROR> no "
792 "está contenido en I<msgflg>."
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid ""
798 "The calling process does not have read permission on the message queue, and "
799 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
800 "governs its IPC namespace."
801 msgstr ""
802
803 #. type: Plain text
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 msgid ""
807 "While the process was sleeping to receive a message, the message queue was "
808 "removed."
809 msgstr ""
810 "Mientras el proceso estaba durmiento en espera de recibir un mensaje, la "
811 "cola de mensajes fue borrada."
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, fuzzy
817 #| msgid ""
818 #| "While the process was sleeping to receive a message, the process received "
819 #| "a signal that had to be caught."
820 msgid ""
821 "While the process was sleeping to receive a message, the process caught a "
822 "signal; see B<signal>(7)."
823 msgstr ""
824 "Mientras el proceso estaba durmiento en espera de recibir un mensaje, el "
825 "proceso recibió una señal que tuvo que ser capturada."
826
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, fuzzy
831 #| msgid "Illegal I<msgqid> value, or I<msgsz> less than B<0>."
832 msgid "I<msqid> was invalid, or I<msgsz> was less than 0."
833 msgstr "Valor ilegal de I<msgqid>, o I<msgsz> menor que B<0>."
834
835 #. type: TP
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "B<EINVAL> (since Linux 3.14)"
840 msgstr "B<EINVAL> (desde Linux 3.14)"
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid "I<msgflg> specified B<MSG_COPY>, but not B<IPC_NOWAIT>."
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid "I<msgflg> specified both B<MSG_COPY> and B<MSG_EXCEPT>."
852 msgstr ""
853
854 #. type: TP
855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
857 #, no-wrap
858 msgid "B<ENOMSG>"
859 msgstr "B<ENOMSG>"
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 #, fuzzy
865 #| msgid ""
866 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
867 #| "type existed on the message queue."
868 msgid ""
869 "B<IPC_NOWAIT> was specified in I<msgflg> and no message of the requested "
870 "type existed on the message queue."
871 msgstr ""
872 "B<IPC_NOWAIT> estaba contenido en I<msgflg> y no existía ningún mensaje del "
873 "tipo requerido en la cola de mensajes."
874
875 #. type: Plain text
876 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
877 #: opensuse-tumbleweed
878 #, fuzzy
879 #| msgid ""
880 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
881 #| "type existed on the message queue."
882 msgid ""
883 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
884 "contains fewer than I<msgtyp> messages."
885 msgstr ""
886 "B<IPC_NOWAIT> estaba contenido en I<msgflg> y no existía ningún mensaje del "
887 "tipo requerido en la cola de mensajes."
888
889 #. type: TP
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 #, no-wrap
893 msgid "B<ENOSYS> (since Linux 3.8)"
894 msgstr "B<ENOSYS> (desde Linux 3.8)"
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid ""
900 "Both B<MSG_COPY> and B<IPC_NOWAIT> were specified in I<msgflg>, and this "
901 "kernel was configured without B<CONFIG_CHECKPOINT_RESTORE>."
902 msgstr ""
903
904 #. type: SH
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 #, no-wrap
908 msgid "STANDARDS"
909 msgstr "ESTÁNDARES"
910
911 #. type: Plain text
912 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
913 #: opensuse-tumbleweed
914 msgid "POSIX.1-2024 XSI."
915 msgstr "POSIX.1-2024 XSI."
916
917 #. MSG_COPY since glibc 2.18
918 #. type: Plain text
919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
921 msgid ""
922 "The B<MSG_EXCEPT> and B<MSG_COPY> flags are Linux-specific; their "
923 "definitions can be obtained by defining the B<_GNU_SOURCE> feature test "
924 "macro."
925 msgstr ""
926
927 #. type: SH
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, no-wrap
931 msgid "HISTORY"
932 msgstr "HISTORIAL"
933
934 #. type: Plain text
935 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
936 #: opensuse-tumbleweed
937 #, fuzzy
938 #| msgid "SVr4, 4.3BSD, POSIX.1-2001."
939 msgid "SVr4, SUSv1, POSIX.1-2001 XSI."
940 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
941
942 #. type: Plain text
943 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
944 #: opensuse-tumbleweed
945 #, fuzzy
946 #| msgid ""
947 #| "The pointer argument is declared as I<struct msgbuf *> with libc4, libc5, "
948 #| "glibc 2.0, glibc 2.1. It is declared as I<void *> (I<const void *> for "
949 #| "I<msgsnd()>) with glibc 2.2, following the SUSv2."
950 msgid ""
951 "The I<msgp> argument is declared as I<struct\\ msgbuf\\ *> in glibc 2.0 and "
952 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
953 "SUSv2 and SUSv3."
954 msgstr ""
955 "El argumento de tipo puntero está declarado como I<struct msgbuf *> en "
956 "libc4, libc5, glibc 2.0, glibc 2.1. Está declarado como I<void *> (I<const "
957 "void *> para I<msgsnd()>) en glibc 2.2, siguiendo el estándar SUSv2."
958
959 #. type: SH
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 #, no-wrap
963 msgid "NOTES"
964 msgstr "NOTAS"
965
966 #. type: Plain text
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 #, fuzzy
970 #| msgid "The followings are system limits affecting a B<msgsnd> system call:"
971 msgid ""
972 "The following limits on message queue resources affect the B<msgsnd>() call:"
973 msgstr ""
974 "Los siguientes son límites del sistema que afectan a la llamada al sistema "
975 "B<msgsnd>:"
976
977 #. type: TP
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
980 #, no-wrap
981 msgid "B<MSGMAX>"
982 msgstr "B<MSGMAX>"
983
984 #. type: Plain text
985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
987 msgid ""
988 "Maximum size of a message text, in bytes (default value: 8192 bytes). On "
989 "Linux, this limit can be read and modified via I</proc/sys/kernel/msgmax>."
990 msgstr ""
991
992 #. type: TP
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 #, no-wrap
996 msgid "B<MSGMNB>"
997 msgstr "B<MSGMNB>"
998
999 #. type: Plain text
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 msgid ""
1003 "Maximum number of bytes that can be held in a message queue (default value: "
1004 "16384 bytes). On Linux, this limit can be read and modified via I</proc/sys/"
1005 "kernel/msgmnb>. A privileged process (Linux: a process with the "
1006 "B<CAP_SYS_RESOURCE> capability) can increase the size of a message queue "
1007 "beyond B<MSGMNB> using the B<msgctl>(2) B<IPC_SET> operation."
1008 msgstr ""
1009
1010 #. type: Plain text
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 #, fuzzy
1014 #| msgid ""
1015 #| "The implementation has no intrinsic limits for the system wide maximum "
1016 #| "number of message headers (B<MSGTQL>) and for the system wide maximum "
1017 #| "size in bytes of the message pool (B<MSGPOOL>)."
1018 msgid ""
1019 "The implementation has no intrinsic system-wide limits on the number of "
1020 "message headers (B<MSGTQL>) and the number of bytes in the message pool "
1021 "(B<MSGPOOL>)."
1022 msgstr ""
1023 "La implementación no tiene límites intrínsecos para el número máximo, del "
1024 "sistema, de cabeceras de mensaje (B<MSGTQL>) ni para el tamaño máximo, del "
1025 "sistema, en bytes, de la zona común de mensajes (B<MSGPOOL>)."
1026
1027 #. type: SH
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 #, no-wrap
1031 msgid "BUGS"
1032 msgstr "ERRORES"
1033
1034 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
1035 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
1036 #. type: Plain text
1037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1039 msgid ""
1040 "In Linux 3.13 and earlier, if B<msgrcv>() was called with the B<MSG_COPY> "
1041 "flag, but without B<IPC_NOWAIT>, and the message queue contained less than "
1042 "I<msgtyp> messages, then the call would block until the next message is "
1043 "written to the queue. At that point, the call would return a copy of the "
1044 "message, I<regardless> of whether that message was at the ordinal position "
1045 "I<msgtyp>. This bug is fixed in Linux 3.14."
1046 msgstr ""
1047
1048 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
1049 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
1050 #. type: Plain text
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 msgid ""
1054 "Specifying both B<MSG_COPY> and B<MSC_EXCEPT> in I<msgflg> is a logical "
1055 "error (since these flags impose different interpretations on I<msgtyp>). In "
1056 "Linux 3.13 and earlier, this error was not diagnosed by B<msgrcv>(). This "
1057 "bug is fixed in Linux 3.14."
1058 msgstr ""
1059
1060 #. type: SH
1061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1063 #, no-wrap
1064 msgid "EXAMPLES"
1065 msgstr "EJEMPLOS"
1066
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid "The program below demonstrates the use of B<msgsnd>() and B<msgrcv>()."
1071 msgstr ""
1072
1073 #. type: Plain text
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 msgid ""
1077 "The example program is first run with the B<-s> option to send a message and "
1078 "then run again with the B<-r> option to receive a message."
1079 msgstr ""
1080
1081 #. type: Plain text
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 msgid "The following shell session shows a sample run of the program:"
1085 msgstr ""
1086
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 #, no-wrap
1091 msgid ""
1092 "$B< ./a.out -s>\n"
1093 "sent: a message at Wed Mar 4 16:25:45 2015\n"
1094 msgstr ""
1095
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 #, no-wrap
1100 msgid ""
1101 "$B< ./a.out -r>\n"
1102 "message received: a message at Wed Mar 4 16:25:45 2015\n"
1103 msgstr ""
1104
1105 #. type: SS
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 #, no-wrap
1109 msgid "Program source"
1110 msgstr "Código fuente"
1111
1112 #. type: Plain text
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, no-wrap
1116 msgid ""
1117 "#include E<lt>errno.hE<gt>\n"
1118 "#include E<lt>stdio.hE<gt>\n"
1119 "#include E<lt>stdlib.hE<gt>\n"
1120 "#include E<lt>sys/ipc.hE<gt>\n"
1121 "#include E<lt>sys/msg.hE<gt>\n"
1122 "#include E<lt>time.hE<gt>\n"
1123 "#include E<lt>unistd.hE<gt>\n"
1124 "\\&\n"
1125 "struct msgbuf {\n"
1126 " long mtype;\n"
1127 " char mtext[80];\n"
1128 "};\n"
1129 "\\&\n"
1130 "static void\n"
1131 "usage(char *prog_name, char *msg)\n"
1132 "{\n"
1133 " if (msg != NULL)\n"
1134 " fputs(msg, stderr);\n"
1135 "\\&\n"
1136 " fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n"
1137 " fprintf(stderr, \"Options are:\\[rs]n\");\n"
1138 " fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n"
1139 " fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n"
1140 " fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n"
1141 " fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n"
1142 " exit(EXIT_FAILURE);\n"
1143 "}\n"
1144 "\\&\n"
1145 "static void\n"
1146 "send_msg(int qid, int msgtype)\n"
1147 "{\n"
1148 " time_t t;\n"
1149 " struct msgbuf msg;\n"
1150 "\\&\n"
1151 " msg.mtype = msgtype;\n"
1152 "\\&\n"
1153 " time(&t);\n"
1154 " snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n"
1155 " ctime(&t));\n"
1156 "\\&\n"
1157 " if (msgsnd(qid, &msg, sizeof(msg.mtext),\n"
1158 " IPC_NOWAIT) == -1)\n"
1159 " {\n"
1160 " perror(\"msgsnd error\");\n"
1161 " exit(EXIT_FAILURE);\n"
1162 " }\n"
1163 " printf(\"sent: %s\\[rs]n\", msg.mtext);\n"
1164 "}\n"
1165 "\\&\n"
1166 "static void\n"
1167 "get_msg(int qid, int msgtype)\n"
1168 "{\n"
1169 " struct msgbuf msg;\n"
1170 "\\&\n"
1171 " if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n"
1172 " MSG_NOERROR | IPC_NOWAIT) == -1) {\n"
1173 " if (errno != ENOMSG) {\n"
1174 " perror(\"msgrcv\");\n"
1175 " exit(EXIT_FAILURE);\n"
1176 " }\n"
1177 " printf(\"No message available for msgrcv()\\[rs]n\");\n"
1178 " } else {\n"
1179 " printf(\"message received: %s\\[rs]n\", msg.mtext);\n"
1180 " }\n"
1181 "}\n"
1182 "\\&\n"
1183 "int\n"
1184 "main(int argc, char *argv[])\n"
1185 "{\n"
1186 " int qid, opt;\n"
1187 " int mode = 0; /* 1 = send, 2 = receive */\n"
1188 " int msgtype = 1;\n"
1189 " int msgkey = 1234;\n"
1190 "\\&\n"
1191 " while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n"
1192 " switch (opt) {\n"
1193 " case \\[aq]s\\[aq]:\n"
1194 " mode = 1;\n"
1195 " break;\n"
1196 " case \\[aq]r\\[aq]:\n"
1197 " mode = 2;\n"
1198 " break;\n"
1199 " case \\[aq]t\\[aq]:\n"
1200 " msgtype = atoi(optarg);\n"
1201 " if (msgtype E<lt>= 0)\n"
1202 " usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n"
1203 " break;\n"
1204 " case \\[aq]k\\[aq]:\n"
1205 " msgkey = atoi(optarg);\n"
1206 " break;\n"
1207 " default:\n"
1208 " usage(argv[0], \"Unrecognized option\\[rs]n\");\n"
1209 " }\n"
1210 " }\n"
1211 "\\&\n"
1212 " if (mode == 0)\n"
1213 " usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n"
1214 "\\&\n"
1215 " qid = msgget(msgkey, IPC_CREAT | 0666);\n"
1216 "\\&\n"
1217 " if (qid == -1) {\n"
1218 " perror(\"msgget\");\n"
1219 " exit(EXIT_FAILURE);\n"
1220 " }\n"
1221 "\\&\n"
1222 " if (mode == 2)\n"
1223 " get_msg(qid, msgtype);\n"
1224 " else\n"
1225 " send_msg(qid, msgtype);\n"
1226 "\\&\n"
1227 " exit(EXIT_SUCCESS);\n"
1228 "}\n"
1229 msgstr ""
1230
1231 #. SRC END
1232 #. type: SH
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 #, no-wrap
1236 msgid "SEE ALSO"
1237 msgstr "VÉASE TAMBIÉN"
1238
1239 #. type: Plain text
1240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1242 msgid ""
1243 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1244 "B<sysvipc>(7)"
1245 msgstr ""
1246 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1247 "B<sysvipc>(7)"
1248
1249 #. type: TH
1250 #: debian-trixie
1251 #, no-wrap
1252 msgid "2024-06-15"
1253 msgstr "15 Junio 2024"
1254
1255 #. type: TH
1256 #: debian-trixie
1257 #, no-wrap
1258 msgid "Linux man-pages 6.9.1"
1259 msgstr "Páginas de Manual de Linux 6.9.1"
1260
1261 #. type: Plain text
1262 #: debian-trixie
1263 msgid "Standard C library (I<libc>, I<-lc>)"
1264 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
1265
1266 #. type: Plain text
1267 #: debian-trixie fedora-44 fedora-rawhide
1268 #, fuzzy, no-wrap
1269 #| msgid "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
1270 msgid ""
1271 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1272 "B< int >I<msgflg>B<);>\n"
1273 msgstr "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
1274
1275 #. type: Plain text
1276 #: debian-trixie fedora-44 fedora-rawhide
1277 #, fuzzy, no-wrap
1278 #| msgid ""
1279 #| "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1280 #| "B< int >I<msgflg>B<);>\n"
1281 msgid ""
1282 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1283 "B< int >I<msgflg>B<);>\n"
1284 msgstr ""
1285 "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1286 "B< int >I<msgflg>B<);>\n"
1287
1288 #. type: Plain text
1289 #: debian-trixie fedora-44 fedora-rawhide
1290 #, fuzzy
1291 #| msgid ""
1292 #| "A blocked B<msgsnd> call may also fail if the queue is removed (in which "
1293 #| "case the system call fails with I<errno> set to B<EIDRM>), or a signal is "
1294 #| "caught (in which case the system call fails with I<errno> set to "
1295 #| "B<EINTR>). (B<msgsnd> and B<msgrcv> are never automatically restarted "
1296 #| "after being interrupted by a signal handler, regardless of the setting of "
1297 #| "the B<SA_RESTART> flag when establishing a signal handler.)"
1298 msgid ""
1299 "a signal is caught, in which case the system call fails with I<errno> set to "
1300 "B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically "
1301 "restarted after being interrupted by a signal handler, regardless of the "
1302 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
1303 msgstr ""
1304 "Una llamada B<msgsnd> bloqueada puede fallar también si la cola es eliminada "
1305 "(en tal caso la llamada al sistema falla poniendo el valor B<EIDRM> en "
1306 "I<errno>), o si se atrapa una señal (en tal caso la llamada al sistem falla "
1307 "poniendo el valor B<EINTR> en I<errno>). (B<msgsnd> y B<msgrcv> no son "
1308 "nunca reiniciadas automáticamente después de haber sido interrumpidas por un "
1309 "manejador de señales, a pesar de haber especificado la opción B<SA_RESTART> "
1310 "cuando se estableció el manejador de señales.)"
1311
1312 #. type: Plain text
1313 #: debian-trixie fedora-44 fedora-rawhide
1314 msgid ""
1315 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
1316 "contains less than I<msgtyp> messages."
1317 msgstr ""
1318
1319 #. type: Plain text
1320 #: debian-trixie fedora-44 fedora-rawhide
1321 msgid "POSIX.1-2008."
1322 msgstr "POSIX.1-2008."
1323
1324 #. type: Plain text
1325 #: debian-trixie fedora-44 fedora-rawhide
1326 msgid "POSIX.1-2001, SVr4."
1327 msgstr "POSIX.1-2001, SVr4."
1328
1329 #. type: Plain text
1330 #: debian-trixie fedora-44 fedora-rawhide
1331 #, fuzzy
1332 #| msgid ""
1333 #| "The pointer argument is declared as I<struct msgbuf *> with libc4, libc5, "
1334 #| "glibc 2.0, glibc 2.1. It is declared as I<void *> (I<const void *> for "
1335 #| "I<msgsnd()>) with glibc 2.2, following the SUSv2."
1336 msgid ""
1337 "The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and "
1338 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
1339 "SUSv2 and SUSv3."
1340 msgstr ""
1341 "El argumento de tipo puntero está declarado como I<struct msgbuf *> en "
1342 "libc4, libc5, glibc 2.0, glibc 2.1. Está declarado como I<void *> (I<const "
1343 "void *> para I<msgsnd()>) en glibc 2.2, siguiendo el estándar SUSv2."
1344
1345 #. type: TH
1346 #: fedora-44 fedora-rawhide
1347 #, no-wrap
1348 msgid "2024-07-23"
1349 msgstr "23 ​​Julio 2024"
1350
1351 #. type: TH
1352 #: fedora-44 fedora-rawhide
1353 #, no-wrap
1354 msgid "Linux man-pages 6.13"
1355 msgstr "Páginas de Manual de Linux 6.13"
1356
1357 #. type: TH
1358 #: mageia-cauldron
1359 #, no-wrap
1360 msgid "Linux man-pages 6.17"
1361 msgstr "Páginas de Manual de Linux 6.17"
1362
1363 #. type: TH
1364 #: opensuse-leap-16-1 opensuse-tumbleweed
1365 #, no-wrap
1366 msgid "Linux man-pages (unreleased)"
1367 msgstr "Páginas de Manual de Linux (no publicadas)"