Debian Codegraph @

po/pt_BR/man2/msgop.2.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # André Luiz Fassone <[email protected]>, 2001.
5 # Walter Rodrigo de Sá Cruz <[email protected]>, 2001.
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: 2001-06-02 19:20-0300\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Virtaal 1.0.0-beta1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "MSGOP"
26 msgstr "MSGOP"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-11"
33 msgstr "11 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, fuzzy
53 #| msgid "msgop - message operations"
54 msgid "msgrcv, msgsnd - System V message queue operations"
55 msgstr "msgop - operações com mensagens"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSE"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/msg.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/msg.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, fuzzy, no-wrap
88 #| msgid ""
89 #| "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
90 #| "B< int >I<msgflg>B<);>\n"
91 msgid ""
92 "B<ssize_t msgrcv(>size_t msgsz;\n"
93 "B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
94 "B< int >I<msgflg>B<);>\n"
95 msgstr ""
96 "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
97 "B< int >I<msgflg>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
101 #: opensuse-tumbleweed
102 #, fuzzy, no-wrap
103 #| msgid "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
104 msgid ""
105 "B<int msgsnd(>size_t msgsz;\n"
106 "B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
107 "B< int >I<msgflg>B<);>\n"
108 msgstr "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "DESCRIÇÃO"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "The B<msgsnd>() and B<msgrcv>() system calls are used to send messages to, "
122 "and receive messages from, a System\\ V message queue. The calling process "
123 "must have write permission on the message queue in order to send a message, "
124 "and read permission to receive a message."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy
131 #| msgid ""
132 #| "The I<msgflg> argument asserts none, one or more (or-ing them) among the "
133 #| "following flags:"
134 msgid ""
135 "The I<msgp> argument is a pointer to a caller-defined structure of the "
136 "following general form:"
137 msgstr ""
138 "O argumento I<msgflg> declara nenhum, um ou mais (ou lógico entre eles) "
139 "entres as seguintes opções:"
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 #, no-wrap
145 msgid ""
146 "struct msgbuf {\n"
147 " long mtype; /* message type, must be E<gt> 0 */\n"
148 " char mtext[1]; /* message data */\n"
149 "};\n"
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, fuzzy
156 #| msgid ""
157 #| "but with an array B<mtext> of size I<msgsz>, a non-negative integer "
158 #| "value. The structure member B<mtype> must have a strictly positive "
159 #| "integer value that can be used by the receiving process for message "
160 #| "selection (see the section about B<msgrcv>)."
161 msgid ""
162 "The I<mtext> field is an array (or other structure) whose size is specified "
163 "by I<msgsz>, a nonnegative integer value. Messages of zero length (i.e., no "
164 "I<mtext> field) are permitted. The I<mtype> field must have a strictly "
165 "positive integer value. This value can be used by the receiving process for "
166 "message selection (see the description of B<msgrcv>() below)."
167 msgstr ""
168 "mas com um array B<mtext> de tamanho I<msgsz>, um inteiro de valor não-"
169 "negativo. O membro da estrutura B<mtype> deve ter um valor estritamente "
170 "positivo que pode ser usado pelo pelo processo receptor para a seleção de "
171 "mensagem (veja a seção sobre B<msgrcv>)."
172
173 #. type: SS
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "msgsnd()"
178 msgstr "msgsnd()"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, fuzzy
184 #| msgid ""
185 #| "The B<msgsnd> system call enqueues a copy of the message pointed to by "
186 #| "the I<msgp> argument on the message queue whose identifier is specified "
187 #| "by the value of the I<msqid> argument."
188 msgid ""
189 "The B<msgsnd>() system call appends a copy of the message pointed to by "
190 "I<msgp> to the message queue whose identifier is specified by I<msqid>."
191 msgstr ""
192 "A chamada de sistema B<msgsnd> enfileira uma cópia da mensagem apontada pelo "
193 "argumento I<msgp> na fila de mensagens cujo identificador é especificado "
194 "pelo valor do argumento I<msqid>."
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 "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
208 #. type: IP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "\\[bu]"
213 msgstr "\\[bu]"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "Adding a new message to the queue would cause the total number of bytes in "
220 "the queue to exceed the queue's maximum size (the I<msg_qbytes> field)."
221 msgstr ""
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 another message to the queue would cause the total number of messages "
228 "in the queue to exceed the queue's maximum size (the I<msg_qbytes> field). "
229 "This check is necessary to prevent an unlimited number of zero-length "
230 "messages being placed on the queue. Although such messages contain no data, "
231 "they nevertheless consume (locked) kernel memory."
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "If insufficient space is available in the queue, then the default behavior "
239 "of B<msgsnd>() is to block until space becomes available. If B<IPC_NOWAIT> "
240 "is specified in I<msgflg>, then the call instead fails with the error "
241 "B<EAGAIN>."
242 msgstr ""
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid "A blocked B<msgsnd>() call may also fail if:"
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 #, fuzzy
254 #| msgid ""
255 #| "The message queue is removed from the system. In such a case the system "
256 #| "call fails with B<errno> set to B<EIDRM>."
257 msgid ""
258 "the queue is removed, in which case the system call fails with I<errno> set "
259 "to B<EIDRM>; or"
260 msgstr ""
261 "A fila de mensagens é removida do sistema. Nesse caso, a chamada de sistema "
262 "falha com B<errno> selecionado para B<EIDRM>."
263
264 #. type: Plain text
265 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
266 #: opensuse-tumbleweed
267 msgid ""
268 "a signal is caught, in which case the system call fails with I<errno> set to "
269 "B<EINTR>; see B<signal>(7). (B<msgsnd>() is never automatically restarted "
270 "after being interrupted by a signal handler, regardless of the setting of "
271 "the B<SA_RESTART> flag when establishing a signal handler.)"
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "Upon successful completion the message queue data structure is updated as "
279 "follows:"
280 msgstr ""
281 "Numa finalização bem sucedida, a estrutura de dados da fila é atualizada do "
282 "seguinte modo:"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, fuzzy
288 #| msgid "B<msg_lspid> is set to the process-\\ID of the calling process."
289 msgid "I<msg_lspid> is set to the process ID of the calling process."
290 msgstr "B<msg_lspid> é selecionado para o PID do processo solicitante."
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid "I<msg_qnum> is incremented by 1."
296 msgstr "I<msg_qnum> é incrementado em 1."
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "I<msg_stime> is set to the current time."
302 msgstr "I<msg_stime> é selecionado para a hora atual."
303
304 #. type: SS
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "msgrcv()"
309 msgstr "msgrcv()"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, fuzzy
315 #| msgid ""
316 #| "The system call B<msgrcv> reads a message from the message queue "
317 #| "specified by I<msqid> into the B<msgbuf> pointed to by the I<msgp> "
318 #| "argument removing from the queue, on success, the read message."
319 msgid ""
320 "The B<msgrcv>() system call removes a message from the queue specified by "
321 "I<msqid> and places it in the buffer pointed to by I<msgp>."
322 msgstr ""
323 "A chamada de sistema B<msgrcv> lê uma mensagem da fila de mensagens "
324 "especificada por I<msqid> no B<msgbuf> apontado pelo argumento I<msgp>, "
325 "removendo da fila, no caso de sucesso, a mensagem lida."
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, fuzzy
331 #| msgid ""
332 #| "The argument I<msgsz> specifies the maximum size in bytes for the member "
333 #| "B<mtext> of the structure pointed to by the I<msgp> argument. If the "
334 #| "message text has length greater than I<msgsz>, then if the I<msgflg> "
335 #| "argument asserts B<MSG_NOERROR>, the message text will be truncated (and "
336 #| "the truncated part will be lost), otherwise the message isn't removed "
337 #| "from the queue and the system call fails returning with B<errno> set to "
338 #| "B<E2BIG>."
339 msgid ""
340 "The argument I<msgsz> specifies the maximum size in bytes for the member "
341 "I<mtext> of the structure pointed to by the I<msgp> argument. If the "
342 "message text has length greater than I<msgsz>, then the behavior depends on "
343 "whether B<MSG_NOERROR> is specified in I<msgflg>. If B<MSG_NOERROR> is "
344 "specified, then the message text will be truncated (and the truncated part "
345 "will be lost); if B<MSG_NOERROR> is not specified, then the message isn't "
346 "removed from the queue and the system call fails returning -1 with I<errno> "
347 "set to B<E2BIG>."
348 msgstr ""
349 "O argumento I<msgsz> especifica o tamanha máximo em bytes para o membro da "
350 "estrutura B<mtext> apontado pelo argumento I<msgp>. Se o texto da mensagem "
351 "tem tamanho maior que I<msgsz>, então se o argumento I<msgflg> declara "
352 "B<MSG_NOERROR>, o texto da mensagem será truncado (e a parte truncada será "
353 "perdida), senão, a mensagem não é removida da fila e a chamada de sistema "
354 "falha, com B<errno> setado para B<E2BIG>."
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, fuzzy
360 #| msgid ""
361 #| "The argument I<msgtyp> specifies the type of message requested as follows:"
362 msgid ""
363 "Unless B<MSG_COPY> is specified in I<msgflg> (see below), the I<msgtyp> "
364 "argument specifies the type of message requested, as follows:"
365 msgstr "O argumento I<msgtyp> especifica o tipo de mensagem como segue:"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, fuzzy
371 #| msgid "If I<msgtyp> is B<0>, then the message on the queue's front is read."
372 msgid "If I<msgtyp> is 0, then the first message in the queue is read."
373 msgstr ""
374 "Se I<msgtyp> é B<0>, então a mensagem a mensagem na frente da fila e lida."
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, fuzzy
380 #| msgid ""
381 #| "If I<msgtyp> is greater than B<0>, then the first message on the queue of "
382 #| "type I<msgtyp> is read if B<MSG_EXCEPT> isn't asserted by the I<msgflg> "
383 #| "argument, otherwise the first message on the queue of type not equal to "
384 #| "I<msgtyp> will be read."
385 msgid ""
386 "If I<msgtyp> is greater than 0, then the first message in the queue of type "
387 "I<msgtyp> is read, unless B<MSG_EXCEPT> was specified in I<msgflg>, in which "
388 "case the first message in the queue of type not equal to I<msgtyp> will be "
389 "read."
390 msgstr ""
391 "Se I<msgtyp> é maior que B<0>, então a primeira mensagem na fila do tipo "
392 "I<msgtyp> é lida se B<MSG_EXCEPT> não está declarada pelo argumento "
393 "I<msgflg>, de outra forma a primeira mensagem na ila de tipo nao igual a "
394 "I<msgtyp> será lida."
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 msgid ""
400 "If I<msgtyp> is less than 0, then the first message in the queue with the "
401 "lowest type less than or equal to the absolute value of I<msgtyp> will be "
402 "read."
403 msgstr ""
404 "Se I<msgtyp> é menor que 0, então a primeira mensagem na fila com o tipo "
405 "menor que ou igual ao valor absoluto de I<msgtyp> será lida."
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, fuzzy
411 #| msgid ""
412 #| "The I<msgflg> argument asserts none, one or more (or-ing them) among the "
413 #| "following flags:"
414 msgid ""
415 "The I<msgflg> argument is a bit mask constructed by ORing together zero or "
416 "more of the following flags:"
417 msgstr ""
418 "O argumento I<msgflg> declara nenhum, um ou mais (ou lógico entre eles) "
419 "entres as seguintes opções:"
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<IPC_NOWAIT>"
426 msgstr "B<IPC_NOWAIT>"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, fuzzy
432 #| msgid ""
433 #| "B<IPC_NOWAIT> For immediate return if no message of the requested type is "
434 #| "on the queue. The system call fails with errno set to B<ENOMSG>."
435 msgid ""
436 "Return immediately if no message of the requested type is in the queue. The "
437 "system call fails with I<errno> set to B<ENOMSG>."
438 msgstr ""
439 "B<IPC_NOWAIT> Para retorno imediato se nenhuma mensagem do tipo requisitado "
440 "está na fila. A chamada de sistema retona com errno selecionado para "
441 "B<ENOMSG>."
442
443 #. type: TP
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "B<MSG_COPY> (since Linux 3.8)"
448 msgstr ""
449
450 #. commit 4a674f34ba04a002244edaf891b5da7fc1473ae8
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "Nondestructively fetch a copy of the message at the ordinal position in the "
456 "queue specified by I<msgtyp> (messages are considered to be numbered "
457 "starting at 0)."
458 msgstr ""
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid ""
464 "This flag must be specified in conjunction with B<IPC_NOWAIT>, with the "
465 "result that, if there is no message available at the given position, the "
466 "call fails immediately with the error B<ENOMSG>. Because they alter the "
467 "meaning of I<msgtyp> in orthogonal ways, B<MSG_COPY> and B<MSG_EXCEPT> may "
468 "not both be specified in I<msgflg>."
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "The B<MSG_COPY> flag was added for the implementation of the kernel "
476 "checkpoint-restore facility and is available only if the kernel was built "
477 "with the B<CONFIG_CHECKPOINT_RESTORE> option."
478 msgstr ""
479
480 #. type: TP
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "B<MSG_EXCEPT>"
485 msgstr "B<MSG_EXCEPT>"
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "Used with I<msgtyp> greater than 0 to read the first message in the queue "
492 "with message type that differs from I<msgtyp>."
493 msgstr ""
494 "Usado com I<msgtyp> maior que 0 para ler a primeira mensagem na fila com o "
495 "tipo de mensagem diferente de I<msgtyp>."
496
497 #. type: TP
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "B<MSG_NOERROR>"
502 msgstr "B<MSG_NOERROR>"
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid "To truncate the message text if longer than I<msgsz> bytes."
508 msgstr "Para truncar o texto da mensagem se ele for maior que I<msgsz> bytes."
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 #, fuzzy
514 #| msgid ""
515 #| "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
516 #| "asserted in I<msgflg>, the calling process is blocked until one of the "
517 #| "following conditions occurs:"
518 msgid ""
519 "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
520 "specified in I<msgflg>, the calling process is blocked until one of the "
521 "following conditions occurs:"
522 msgstr ""
523 "Se nenhuma mensagem do tipo requisitado está disponível e B<IPC_NOWAIT> não "
524 "está selecionado em I<msgflg>, o processo solicitante é bloqueado até uma "
525 "das seguintes condições acontecerem:"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid "A message of the desired type is placed in the queue."
531 msgstr "Uma mensagem do tipo desejado é colocada na fila."
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, fuzzy
537 #| msgid ""
538 #| "The message queue is removed from the system. In such a case the system "
539 #| "call fails with B<errno> set to B<EIDRM>."
540 msgid ""
541 "The message queue is removed from the system. In this case, the system call "
542 "fails with I<errno> set to B<EIDRM>."
543 msgstr ""
544 "A fila de mensagens é removida do sistema. Nesse caso, a chamada de sistema "
545 "falha com B<errno> selecionado para B<EIDRM>."
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "The calling process catches a signal. In this case, the system call fails "
552 "with I<errno> set to B<EINTR>. (B<msgrcv>() is never automatically "
553 "restarted after being interrupted by a signal handler, regardless of the "
554 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
555 msgstr ""
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid "I<msg_lrpid> is set to the process ID of the calling process."
561 msgstr "I<msg_lrpid> é selecionado para o PID do processo solicitante."
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid "I<msg_qnum> is decremented by 1."
567 msgstr "I<msg_qnum> é decrementado em 1."
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 "I<msg_rtime> is set to the current time."
573 msgstr "I<msg_rtime> é selecionado para a hora atual."
574
575 #. type: SH
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "RETURN VALUE"
580 msgstr "VALOR DE RETORNO"
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 #, fuzzy
586 #| msgid ""
587 #| "On failure both functions return -1 with I<errno> indicating the error, "
588 #| "otherwise B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
589 #| "bytes actually copied into the I<mtext> array."
590 msgid ""
591 "On success, B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
592 "bytes actually copied into the I<mtext> array. On failure, both functions "
593 "return -1, and set I<errno> to indicate the error."
594 msgstr ""
595 "Em caso de erro, ambas as funções retornam -1 com I<errno> indicando o erro, "
596 "se não B<msgsnd>() devolve 0 e B<msgrcv>() retorna o número de bytes "
597 "atualmente copiados no array I<mtext>."
598
599 #. type: SH
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "ERRORS"
604 msgstr "ERROS"
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, fuzzy
610 #| msgid ""
611 #| "When B<msgsnd>() fails, I<errno> will be set to one among the following "
612 #| "values:"
613 msgid "B<msgsnd>() can fail with the following errors:"
614 msgstr ""
615 "Quando B<msgsnd>() falha, I<errno> será setado para um dos seguintes valores:"
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<EACCES>"
622 msgstr "B<EACCES>"
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid ""
628 "The calling process does not have write permission on the message queue, and "
629 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
630 "governs its IPC namespace."
631 msgstr ""
632
633 #. type: TP
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid "B<EAGAIN>"
638 msgstr "B<EAGAIN>"
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, fuzzy
644 #| msgid ""
645 #| "The message can't be sent due to the B<msg_qbytes> limit for the queue "
646 #| "and B<IPC_NOWAIT> was asserted in I<mgsflg>."
647 msgid ""
648 "The message can't be sent due to the I<msg_qbytes> limit for the queue and "
649 "B<IPC_NOWAIT> was specified in I<msgflg>."
650 msgstr ""
651 "A mensagem não pode ser enviada devido do limite B<msg_qbytes> imposto para "
652 "a fila e B<IPC_NOWAIT> estava setado em I<mgsflg>."
653
654 #. type: TP
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "B<EFAULT>"
659 msgstr "B<EFAULT>"
660
661 #. type: Plain text
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 msgid "The address pointed to by I<msgp> isn't accessible."
665 msgstr "O endereço apontado por I<msgp> não é acessível."
666
667 #. type: TP
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "B<EIDRM>"
672 msgstr "B<EIDRM>"
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 "The message queue was removed."
678 msgstr "A fila de mensagens foi removida."
679
680 #. type: TP
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "B<EINTR>"
685 msgstr "B<EINTR>"
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, fuzzy
691 #| msgid ""
692 #| "Sleeping on a full message queue condition, the process received a signal "
693 #| "that had to be caught."
694 msgid ""
695 "Sleeping on a full message queue condition, the process caught a signal."
696 msgstr ""
697 "Esperando por uma condição de fila de mensagens completa, o processo recebeu "
698 "um sinal que teve de ser tratado."
699
700 #. type: TP
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "B<EINVAL>"
705 msgstr "B<EINVAL>"
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid ""
711 "Invalid I<msqid> value, or nonpositive I<mtype> value, or invalid I<msgsz> "
712 "value (less than 0 or greater than the system value B<MSGMAX>)."
713 msgstr ""
714 "Valor inválido para I<msqid>, ou valor I<mtype> não positivo, ou valor de "
715 "I<msgsz> inválido (menor que 0 ou maior que o valor de sistema B<MSGMAX>)."
716
717 #. type: TP
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "B<ENOMEM>"
722 msgstr "B<ENOMEM>"
723
724 #. type: Plain text
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, fuzzy
728 #| msgid ""
729 #| "The system has not enough memory to make a copy of the supplied B<msgbuf>."
730 msgid ""
731 "The system does not have enough memory to make a copy of the message pointed "
732 "to by I<msgp>."
733 msgstr ""
734 "O sistema não tem memória suficiente para fazer uma cópia do B<msgbuf> "
735 "suprido."
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 #, fuzzy
741 #| msgid ""
742 #| "When B<msgrcv>() fails, I<errno> will be set to one among the following "
743 #| "values:"
744 msgid "B<msgrcv>() can fail with the following errors:"
745 msgstr ""
746 "Quando B<msgrcv>() falha, I<errno> será setado para um dos seguintes valores:"
747
748 #. type: TP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "B<E2BIG>"
753 msgstr "B<E2BIG>"
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 #, fuzzy
759 #| msgid ""
760 #| "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
761 #| "asserted in I<msgflg>."
762 msgid ""
763 "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
764 "specified in I<msgflg>."
765 msgstr ""
766 "O tamanho do texto da mensagem é maior que I<msgsz> e B<MSG_NOERROR> não "
767 "está selecionado em I<msgflg>."
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid ""
773 "The calling process does not have read permission on the message queue, and "
774 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
775 "governs its IPC namespace."
776 msgstr ""
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "While the process was sleeping to receive a message, the message queue was "
783 "removed."
784 msgstr ""
785 "Enquanto o processo estava esperando receber uma mensagem, a fila de "
786 "mensagens foi removida."
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 #, fuzzy
792 #| msgid ""
793 #| "While the process was sleeping to receive a message, the process received "
794 #| "a signal that had to be caught."
795 msgid ""
796 "While the process was sleeping to receive a message, the process caught a "
797 "signal; see B<signal>(7)."
798 msgstr ""
799 "Enquanto o processo estava esperando receber uma mensagem, o processo "
800 "recebeu um sinal que teve de ser tratado."
801
802 #. type: Plain text
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 #, fuzzy
806 msgid "I<msqid> was invalid, or I<msgsz> was less than 0."
807 msgstr "Valor de I<msgqid>, ou I<msgsz> menor que B<0>."
808
809 #. type: TP
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 #, no-wrap
813 msgid "B<EINVAL> (since Linux 3.14)"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid "I<msgflg> specified B<MSG_COPY>, but not B<IPC_NOWAIT>."
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 msgid "I<msgflg> specified both B<MSG_COPY> and B<MSG_EXCEPT>."
826 msgstr ""
827
828 #. type: TP
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 #, no-wrap
832 msgid "B<ENOMSG>"
833 msgstr "B<ENOMSG>"
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, fuzzy
839 #| msgid ""
840 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
841 #| "type existed on the message queue."
842 msgid ""
843 "B<IPC_NOWAIT> was specified in I<msgflg> and no message of the requested "
844 "type existed on the message queue."
845 msgstr ""
846 "B<IPC_NOWAIT> estava setado em I<msgflg> e não existia nenhuma mensagem do "
847 "tipo requisitado na fila de mensagens."
848
849 #. type: Plain text
850 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
851 #: opensuse-tumbleweed
852 #, fuzzy
853 #| msgid ""
854 #| "B<IPC_NOWAIT> was asserted in I<msgflg> and no message of the requested "
855 #| "type existed on the message queue."
856 msgid ""
857 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
858 "contains fewer than I<msgtyp> messages."
859 msgstr ""
860 "B<IPC_NOWAIT> estava setado em I<msgflg> e não existia nenhuma mensagem do "
861 "tipo requisitado na fila de mensagens."
862
863 #. type: TP
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 #, no-wrap
867 msgid "B<ENOSYS> (since Linux 3.8)"
868 msgstr ""
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid ""
874 "Both B<MSG_COPY> and B<IPC_NOWAIT> were specified in I<msgflg>, and this "
875 "kernel was configured without B<CONFIG_CHECKPOINT_RESTORE>."
876 msgstr ""
877
878 #. type: SH
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "STANDARDS"
883 msgstr "PADRÕES"
884
885 #. type: Plain text
886 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
887 #: opensuse-tumbleweed
888 msgid "POSIX.1-2024 XSI."
889 msgstr "POSIX.1-2024 XSI."
890
891 #. MSG_COPY since glibc 2.18
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 msgid ""
896 "The B<MSG_EXCEPT> and B<MSG_COPY> flags are Linux-specific; their "
897 "definitions can be obtained by defining the B<_GNU_SOURCE> feature test "
898 "macro."
899 msgstr ""
900
901 #. type: SH
902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
904 #, no-wrap
905 msgid "HISTORY"
906 msgstr "HISTÓRICO"
907
908 #. type: Plain text
909 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
910 #: opensuse-tumbleweed
911 msgid "SVr4, SUSv1, POSIX.1-2001 XSI."
912 msgstr "SVr4, SUSv1, POSIX.1-2001 XSI."
913
914 #. type: Plain text
915 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
916 #: opensuse-tumbleweed
917 #, fuzzy
918 #| msgid ""
919 #| "The pointer argument is declared as I<struct msgbuf *> with libc4, libc5, "
920 #| "glibc 2.0, glibc 2.1. It is declared as I<void *> (I<const void *> for "
921 #| "I<msgsnd()>) with glibc 2.2, following the SUSv2."
922 msgid ""
923 "The I<msgp> argument is declared as I<struct\\ msgbuf\\ *> in glibc 2.0 and "
924 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
925 "SUSv2 and SUSv3."
926 msgstr ""
927 "O argumento ponteiro é declarado como I<struct msgbuf *> com libc4, libc5, "
928 "glibc 2.0, glibc 2.1. Ele é declarado como I<void *> (I<const void *> for "
929 "I<msgsnd()>) com a glibc 2.2, seguindo o SUSv2."
930
931 #. type: SH
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 #, no-wrap
935 msgid "NOTES"
936 msgstr "NOTAS"
937
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
940 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
941 #, fuzzy
942 #| msgid "The followings are system limits affecting a B<msgsnd> system call:"
943 msgid ""
944 "The following limits on message queue resources affect the B<msgsnd>() call:"
945 msgstr ""
946 "A seguir, alguns limites do sistema que podem afetar a chamada de sistema "
947 "B<msgsnd>:"
948
949 #. type: TP
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 #, no-wrap
953 msgid "B<MSGMAX>"
954 msgstr "B<MSGMAX>"
955
956 #. type: Plain text
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 msgid ""
960 "Maximum size of a message text, in bytes (default value: 8192 bytes). On "
961 "Linux, this limit can be read and modified via I</proc/sys/kernel/msgmax>."
962 msgstr ""
963
964 #. type: TP
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "B<MSGMNB>"
969 msgstr "B<MSGMNB>"
970
971 #. type: Plain text
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 msgid ""
975 "Maximum number of bytes that can be held in a message queue (default value: "
976 "16384 bytes). On Linux, this limit can be read and modified via I</proc/sys/"
977 "kernel/msgmnb>. A privileged process (Linux: a process with the "
978 "B<CAP_SYS_RESOURCE> capability) can increase the size of a message queue "
979 "beyond B<MSGMNB> using the B<msgctl>(2) B<IPC_SET> operation."
980 msgstr ""
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 #, fuzzy
986 #| msgid ""
987 #| "The implementation has no intrinsic limits for the system wide maximum "
988 #| "number of message headers (B<MSGTQL>) and for the system wide maximum "
989 #| "size in bytes of the message pool (B<MSGPOOL>)."
990 msgid ""
991 "The implementation has no intrinsic system-wide limits on the number of "
992 "message headers (B<MSGTQL>) and the number of bytes in the message pool "
993 "(B<MSGPOOL>)."
994 msgstr ""
995 "A implementação não tem limites intrinsecos para o total máximo do sistema "
996 "número de headers de mensagem (B<MSGTQL>) e para o valor total em bytes do "
997 "pool de mensagens (B<MSGPOOL>)."
998
999 #. type: SH
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 #, no-wrap
1003 msgid "BUGS"
1004 msgstr "BUGS"
1005
1006 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
1007 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
1008 #. type: Plain text
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 msgid ""
1012 "In Linux 3.13 and earlier, if B<msgrcv>() was called with the B<MSG_COPY> "
1013 "flag, but without B<IPC_NOWAIT>, and the message queue contained less than "
1014 "I<msgtyp> messages, then the call would block until the next message is "
1015 "written to the queue. At that point, the call would return a copy of the "
1016 "message, I<regardless> of whether that message was at the ordinal position "
1017 "I<msgtyp>. This bug is fixed in Linux 3.14."
1018 msgstr ""
1019
1020 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
1021 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
1022 #. type: Plain text
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1025 msgid ""
1026 "Specifying both B<MSG_COPY> and B<MSC_EXCEPT> in I<msgflg> is a logical "
1027 "error (since these flags impose different interpretations on I<msgtyp>). In "
1028 "Linux 3.13 and earlier, this error was not diagnosed by B<msgrcv>(). This "
1029 "bug is fixed in Linux 3.14."
1030 msgstr ""
1031
1032 #. type: SH
1033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1035 #, no-wrap
1036 msgid "EXAMPLES"
1037 msgstr "EXEMPLOS"
1038
1039 #. type: Plain text
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 msgid "The program below demonstrates the use of B<msgsnd>() and B<msgrcv>()."
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1048 msgid ""
1049 "The example program is first run with the B<-s> option to send a message and "
1050 "then run again with the B<-r> option to receive a message."
1051 msgstr ""
1052
1053 #. type: Plain text
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 msgid "The following shell session shows a sample run of the program:"
1057 msgstr ""
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, no-wrap
1063 msgid ""
1064 "$B< ./a.out -s>\n"
1065 "sent: a message at Wed Mar 4 16:25:45 2015\n"
1066 msgstr ""
1067 "$B< ./a.out -s>\n"
1068 "sent: a message at Wed Mar 4 16:25:45 2015\n"
1069
1070 #. type: Plain text
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 #, no-wrap
1074 msgid ""
1075 "$B< ./a.out -r>\n"
1076 "message received: a message at Wed Mar 4 16:25:45 2015\n"
1077 msgstr ""
1078 "$B< ./a.out -r>\n"
1079 "message received: a message at Wed Mar 4 16:25:45 2015\n"
1080
1081 #. type: SS
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 #, no-wrap
1085 msgid "Program source"
1086 msgstr "Fonte do programa"
1087
1088 #. type: Plain text
1089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1091 #, no-wrap
1092 msgid ""
1093 "#include E<lt>errno.hE<gt>\n"
1094 "#include E<lt>stdio.hE<gt>\n"
1095 "#include E<lt>stdlib.hE<gt>\n"
1096 "#include E<lt>sys/ipc.hE<gt>\n"
1097 "#include E<lt>sys/msg.hE<gt>\n"
1098 "#include E<lt>time.hE<gt>\n"
1099 "#include E<lt>unistd.hE<gt>\n"
1100 "\\&\n"
1101 "struct msgbuf {\n"
1102 " long mtype;\n"
1103 " char mtext[80];\n"
1104 "};\n"
1105 "\\&\n"
1106 "static void\n"
1107 "usage(char *prog_name, char *msg)\n"
1108 "{\n"
1109 " if (msg != NULL)\n"
1110 " fputs(msg, stderr);\n"
1111 "\\&\n"
1112 " fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n"
1113 " fprintf(stderr, \"Options are:\\[rs]n\");\n"
1114 " fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n"
1115 " fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n"
1116 " fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n"
1117 " fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n"
1118 " exit(EXIT_FAILURE);\n"
1119 "}\n"
1120 "\\&\n"
1121 "static void\n"
1122 "send_msg(int qid, int msgtype)\n"
1123 "{\n"
1124 " time_t t;\n"
1125 " struct msgbuf msg;\n"
1126 "\\&\n"
1127 " msg.mtype = msgtype;\n"
1128 "\\&\n"
1129 " time(&t);\n"
1130 " snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n"
1131 " ctime(&t));\n"
1132 "\\&\n"
1133 " if (msgsnd(qid, &msg, sizeof(msg.mtext),\n"
1134 " IPC_NOWAIT) == -1)\n"
1135 " {\n"
1136 " perror(\"msgsnd error\");\n"
1137 " exit(EXIT_FAILURE);\n"
1138 " }\n"
1139 " printf(\"sent: %s\\[rs]n\", msg.mtext);\n"
1140 "}\n"
1141 "\\&\n"
1142 "static void\n"
1143 "get_msg(int qid, int msgtype)\n"
1144 "{\n"
1145 " struct msgbuf msg;\n"
1146 "\\&\n"
1147 " if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n"
1148 " MSG_NOERROR | IPC_NOWAIT) == -1) {\n"
1149 " if (errno != ENOMSG) {\n"
1150 " perror(\"msgrcv\");\n"
1151 " exit(EXIT_FAILURE);\n"
1152 " }\n"
1153 " printf(\"No message available for msgrcv()\\[rs]n\");\n"
1154 " } else {\n"
1155 " printf(\"message received: %s\\[rs]n\", msg.mtext);\n"
1156 " }\n"
1157 "}\n"
1158 "\\&\n"
1159 "int\n"
1160 "main(int argc, char *argv[])\n"
1161 "{\n"
1162 " int qid, opt;\n"
1163 " int mode = 0; /* 1 = send, 2 = receive */\n"
1164 " int msgtype = 1;\n"
1165 " int msgkey = 1234;\n"
1166 "\\&\n"
1167 " while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n"
1168 " switch (opt) {\n"
1169 " case \\[aq]s\\[aq]:\n"
1170 " mode = 1;\n"
1171 " break;\n"
1172 " case \\[aq]r\\[aq]:\n"
1173 " mode = 2;\n"
1174 " break;\n"
1175 " case \\[aq]t\\[aq]:\n"
1176 " msgtype = atoi(optarg);\n"
1177 " if (msgtype E<lt>= 0)\n"
1178 " usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n"
1179 " break;\n"
1180 " case \\[aq]k\\[aq]:\n"
1181 " msgkey = atoi(optarg);\n"
1182 " break;\n"
1183 " default:\n"
1184 " usage(argv[0], \"Unrecognized option\\[rs]n\");\n"
1185 " }\n"
1186 " }\n"
1187 "\\&\n"
1188 " if (mode == 0)\n"
1189 " usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n"
1190 "\\&\n"
1191 " qid = msgget(msgkey, IPC_CREAT | 0666);\n"
1192 "\\&\n"
1193 " if (qid == -1) {\n"
1194 " perror(\"msgget\");\n"
1195 " exit(EXIT_FAILURE);\n"
1196 " }\n"
1197 "\\&\n"
1198 " if (mode == 2)\n"
1199 " get_msg(qid, msgtype);\n"
1200 " else\n"
1201 " send_msg(qid, msgtype);\n"
1202 "\\&\n"
1203 " exit(EXIT_SUCCESS);\n"
1204 "}\n"
1205 msgstr ""
1206
1207 #. SRC END
1208 #. type: SH
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 #, no-wrap
1212 msgid "SEE ALSO"
1213 msgstr "VEJA TAMBÉM"
1214
1215 #. type: Plain text
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 msgid ""
1219 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1220 "B<sysvipc>(7)"
1221 msgstr ""
1222 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1223 "B<sysvipc>(7)"
1224
1225 #. type: TH
1226 #: debian-trixie
1227 #, no-wrap
1228 msgid "2024-06-15"
1229 msgstr "15 junho 2024"
1230
1231 #. type: TH
1232 #: debian-trixie
1233 #, no-wrap
1234 msgid "Linux man-pages 6.9.1"
1235 msgstr "Linux man-pages 6.9.1"
1236
1237 #. type: Plain text
1238 #: debian-trixie
1239 msgid "Standard C library (I<libc>, I<-lc>)"
1240 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1241
1242 #. type: Plain text
1243 #: debian-trixie fedora-44 fedora-rawhide
1244 #, fuzzy, no-wrap
1245 #| msgid "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
1246 msgid ""
1247 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1248 "B< int >I<msgflg>B<);>\n"
1249 msgstr "B<int msgsnd(int >I<msqid>B<, const void *>I<msgp>B<, size_t >I<msgsz>B<, int >I<msgflg>B<);>\n"
1250
1251 #. type: Plain text
1252 #: debian-trixie fedora-44 fedora-rawhide
1253 #, fuzzy, no-wrap
1254 #| msgid ""
1255 #| "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1256 #| "B< int >I<msgflg>B<);>\n"
1257 msgid ""
1258 "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"
1259 "B< int >I<msgflg>B<);>\n"
1260 msgstr ""
1261 "B<ssize_t msgrcv(int >I<msqid>B<, void *>I<msgp>B<, size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1262 "B< int >I<msgflg>B<);>\n"
1263
1264 #. type: Plain text
1265 #: debian-trixie fedora-44 fedora-rawhide
1266 msgid ""
1267 "a signal is caught, in which case the system call fails with I<errno> set to "
1268 "B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically "
1269 "restarted after being interrupted by a signal handler, regardless of the "
1270 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
1271 msgstr ""
1272
1273 #. type: Plain text
1274 #: debian-trixie fedora-44 fedora-rawhide
1275 msgid ""
1276 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
1277 "contains less than I<msgtyp> messages."
1278 msgstr ""
1279
1280 #. type: Plain text
1281 #: debian-trixie fedora-44 fedora-rawhide
1282 msgid "POSIX.1-2008."
1283 msgstr "POSIX.1-2008."
1284
1285 #. type: Plain text
1286 #: debian-trixie fedora-44 fedora-rawhide
1287 msgid "POSIX.1-2001, SVr4."
1288 msgstr "POSIX.1-2001, SVr4."
1289
1290 #. type: Plain text
1291 #: debian-trixie fedora-44 fedora-rawhide
1292 #, fuzzy
1293 #| msgid ""
1294 #| "The pointer argument is declared as I<struct msgbuf *> with libc4, libc5, "
1295 #| "glibc 2.0, glibc 2.1. It is declared as I<void *> (I<const void *> for "
1296 #| "I<msgsnd()>) with glibc 2.2, following the SUSv2."
1297 msgid ""
1298 "The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and "
1299 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
1300 "SUSv2 and SUSv3."
1301 msgstr ""
1302 "O argumento ponteiro é declarado como I<struct msgbuf *> com libc4, libc5, "
1303 "glibc 2.0, glibc 2.1. Ele é declarado como I<void *> (I<const void *> for "
1304 "I<msgsnd()>) com a glibc 2.2, seguindo o SUSv2."
1305
1306 #. type: TH
1307 #: fedora-44 fedora-rawhide
1308 #, no-wrap
1309 msgid "2024-07-23"
1310 msgstr "23 julho 2024"
1311
1312 #. type: TH
1313 #: fedora-44 fedora-rawhide
1314 #, no-wrap
1315 msgid "Linux man-pages 6.13"
1316 msgstr "Linux man-pages 6.13"
1317
1318 #. type: TH
1319 #: mageia-cauldron
1320 #, no-wrap
1321 msgid "Linux man-pages 6.17"
1322 msgstr "Linux man-pages 6.17"
1323
1324 #. type: TH
1325 #: opensuse-leap-16-1 opensuse-tumbleweed
1326 #, no-wrap
1327 msgid "Linux man-pages (unreleased)"
1328 msgstr "Linux man-pages (não lançado)"