Debian Codegraph @

po/pt_BR/man2/recv.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 # Marcelo Pereira da Silva <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: Marcelo Pereira da Silva <[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 "recv"
26 msgstr "recv"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2025-10-29"
33 msgstr "29 outubro 2025"
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 msgid "recv, recvfrom, recvmsg - receive a message from a socket"
53 msgstr ""
54 "recv, recvfrom, recvmsg - recebimento de mensagem a partir de um 'socket'"
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 C Padrão (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 "SINOPSE"
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/socket.hE<gt>>\n"
81 msgstr "B<#include E<lt>sys/socket.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 recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
89 #| "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
90 msgid ""
91 "B<ssize_t recv(>size_t size;\n"
92 "B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
93 "B< int >I<flags>B<);>\n"
94 "B<ssize_t recvfrom(>size_t size;\n"
95 "B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
96 "B< int >I<flags>B<,>\n"
97 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
98 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
99 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
100 msgstr ""
101 "B<ssize_t recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
102 "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
103
104 #. type: SH
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "DESCRIPTION"
109 msgstr "DESCRIÇÃO"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, fuzzy
115 #| msgid ""
116 #| "The B<recvfrom> and B<recvmsg> calls are used to receive messages from a "
117 #| "socket, and may be used to receive data on a socket whether or not it is "
118 #| "connection-oriented."
119 msgid ""
120 "The B<recv>(), B<recvfrom>(), and B<recvmsg>() calls are used to receive "
121 "messages from a socket. They may be used to receive data on both "
122 "connectionless and connection-oriented sockets. This page first describes "
123 "common features of all three system calls, and then describes the "
124 "differences between the calls."
125 msgstr ""
126 "As chamadas B<recvfrom> e B<recvmsg> são usadas para receber mensagens de um "
127 "'socket', e podem ser usadas para receber dados do 'socket' se for, ou não, "
128 "orientada a conexão."
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "The only difference between B<recv>() and B<read>(2) is the presence of "
135 "I<flags>. With a zero I<flags> argument, B<recv>() is generally equivalent "
136 "to B<read>(2) (but see NOTES). Also, the following call"
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
141 #: opensuse-leap-16-1 opensuse-tumbleweed
142 #, fuzzy, no-wrap
143 #| msgid " recv(sockfd, buf, len, flags);\n"
144 msgid "recv(sockfd, buf, size, flags);\n"
145 msgstr " recv(sockfd, buf, len, flags);\n"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid "is equivalent to"
151 msgstr "é equivalente a"
152
153 #. type: Plain text
154 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
155 #: opensuse-leap-16-1 opensuse-tumbleweed
156 #, fuzzy, no-wrap
157 #| msgid " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
158 msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
159 msgstr " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
160
161 #. type: Plain text
162 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
163 #: opensuse-leap-16-1 opensuse-tumbleweed
164 #, fuzzy
165 #| msgid ""
166 #| "All three routines return the length of the message on successful "
167 #| "completion. If a message is too long to fit in the supplied buffer, "
168 #| "excess bytes may be discarded depending on the type of socket the message "
169 #| "is received from (see B<socket>(2))."
170 msgid ""
171 "All three calls return the size of the message on successful completion. If "
172 "a message is too long to fit in the supplied buffer, excess bytes may be "
173 "discarded depending on the type of socket the message is received from."
174 msgstr ""
175 "Todas as três rotinas retornam o tamanho da mensagem se completada com "
176 "sucesso. Se uma mensagem é muito longa para o 'buffer' fornecido, os bytes "
177 "excedentes podem ser descartados dependendo do tipo de 'socket' em que a "
178 "mensagem é recebida (veja B<socket>(2))."
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 #| "If no messages are available at the socket, the receive calls wait for a "
186 #| "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in "
187 #| "which case the value -1 is returned and the external variable I<errno> is "
188 #| "set to B<EAGAIN> or B<EWOULDBLOCK>. The receive calls normally return "
189 #| "any data available, up to the requested amount, rather than waiting for "
190 #| "receipt of the full amount requested."
191 msgid ""
192 "If no messages are available at the socket, the receive calls wait for a "
193 "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in "
194 "which case the value -1 is returned and I<errno> is set to B<EAGAIN> or "
195 "B<EWOULDBLOCK>. The receive calls normally return any data available, up to "
196 "the requested amount, rather than waiting for receipt of the full amount "
197 "requested."
198 msgstr ""
199 "Se nenhuma mensagem está disponível no 'socket', a chamada aguarda para que "
200 "uma mensagem chegue, a menos que o 'socket' não esteja bloqueado (veja "
201 "B<fcntl>(2)) neste caso o valor -1 é devolvido e a variável externa I<errno> "
202 "recebe B<EAGAIN> ou B<EWOULDBLOCK>. A chamada normalmente retorna qualquer "
203 "dado disponível, até a quantia pedida, em vez de esperar receber toda "
204 "quantia pedida."
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, fuzzy
210 #| msgid ""
211 #| "The B<select>(2) or B<poll>(2) call may be used to determine when more "
212 #| "data arrives."
213 msgid ""
214 "An application can use B<select>(2), B<poll>(2), or B<epoll>(7) to "
215 "determine when more data arrives on a socket."
216 msgstr ""
217 "A chamada B<select>(2) ou B<poll>(2) pode ser usada para determinar quando "
218 "mais dados chegam."
219
220 #. type: SS
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "The flags argument"
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, fuzzy
231 #| msgid ""
232 #| "The I<flags> argument to a recv call is formed by I<OR>'ing one or more "
233 #| "of the following values:"
234 msgid ""
235 "The I<flags> argument is formed by ORing one or more of the following values:"
236 msgstr ""
237 "O argumento I<flags> para uma chamada recv call é formada por I<OR>'ing um "
238 "ou mais dos seguintes valores:"
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() only; since Linux 2.6.23)"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "Set the close-on-exec flag for the file descriptor received via a UNIX "
252 "domain file descriptor using the B<SCM_RIGHTS> operation (described in "
253 "B<unix>(7)). This flag is useful for the same reasons as the B<O_CLOEXEC> "
254 "flag of B<open>(2)."
255 msgstr ""
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, fuzzy, no-wrap
261 #| msgid "B<MSG_DONTWAIT>"
262 msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
263 msgstr "B<MSG_DONTWAIT>"
264
265 #. type: Plain text
266 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
267 #: opensuse-tumbleweed
268 msgid ""
269 "Enables nonblocking operation; if the operation would block, the call fails "
270 "with B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior to setting "
271 "the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but "
272 "differs in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> "
273 "is a setting on the open file description (see B<open>(2)), which will "
274 "affect all threads in the calling process as well as other processes that "
275 "hold file descriptors referring to the same open file description."
276 msgstr ""
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, fuzzy, no-wrap
282 #| msgid "B<MSG_ERRQUEUE>"
283 msgid "B<MSG_ERRQUEUE> (since Linux 2.2)"
284 msgstr "B<MSG_ERRQUEUE>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "This flag specifies that queued errors should be received from the socket "
291 "error queue. The error is passed in an ancillary message with a type "
292 "dependent on the protocol (for IPv4 B<IP_RECVERR>). The user should supply "
293 "a buffer of sufficient size. See B<cmsg>(3) and B<ip>(7) for more "
294 "information. The payload of the original packet that caused the error is "
295 "passed as normal data via I<msg_iovec>. The original destination address of "
296 "the datagram that caused the error is supplied via I<msg_name>."
297 msgstr ""
298 "Este sinalizador especifica que os erros armazenados na fila de erros devem "
299 "ser recebidos da fila de erros do 'socket'. O erro é passado em uma mensagem "
300 "ancilar com o tipo dependente do protocolo (para o IPv4 B<IP_RECVERR>). O "
301 "usuário deve fornecer um 'buffer' de tamanho suficiente. Veja B<cmsg>(3) e "
302 "B<ip>(7) para mais informações. O payload do pacote original que causou o "
303 "erro é passado com um dado normal via I<msg_iovec>. O endereço de destino "
304 "original do datagrama que causou o erro é fornecido via I<msg_name>."
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "The error is supplied in a I<sock_extended_err> structure:"
310 msgstr "O erro é fornecido na estrutura I<sock_extended_err>:"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, fuzzy, no-wrap
316 #| msgid ""
317 #| "struct sock_extended_err\n"
318 #| "{\n"
319 #| "\tu_int32_t\tee_errno;\t/* error number */\n"
320 #| "\tu_int8_t\tee_origin;\t/* where the error originated */ \n"
321 #| "\tu_int8_t\tee_type;\t/* type */\n"
322 #| "\tu_int8_t\tee_code;\t/* code */\n"
323 #| "\tu_int8_t\tee_pad;\n"
324 #| "\tu_int32_t\tee_info;\t/* additional information */\n"
325 #| "\tu_int32_t\tee_data;\t/* other data */ \n"
326 #| "\t/* More data may follow */ \n"
327 #| "};\n"
328 msgid ""
329 "#define SO_EE_ORIGIN_NONE 0\n"
330 "#define SO_EE_ORIGIN_LOCAL 1\n"
331 "#define SO_EE_ORIGIN_ICMP 2\n"
332 "#define SO_EE_ORIGIN_ICMP6 3\n"
333 "\\&\n"
334 "struct sock_extended_err\n"
335 "{\n"
336 " uint32_t ee_errno; /* Error number */\n"
337 " uint8_t ee_origin; /* Where the error originated */\n"
338 " uint8_t ee_type; /* Type */\n"
339 " uint8_t ee_code; /* Code */\n"
340 " uint8_t ee_pad; /* Padding */\n"
341 " uint32_t ee_info; /* Additional information */\n"
342 " uint32_t ee_data; /* Other data */\n"
343 " /* More data may follow */\n"
344 "};\n"
345 "\\&\n"
346 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
347 msgstr ""
348 "struct sock_extended_err\n"
349 "{\n"
350 "\tu_int32_t\tee_errno;\t/* número do erro */\n"
351 "\tu_int8_t\tee_origin;\t/* onde o erro foi originado */ \n"
352 "\tu_int8_t\tee_type;\t/* tipo */\n"
353 "\tu_int8_t\tee_code;\t/* código */\n"
354 "\tu_int8_t\tee_pad;\n"
355 "\tu_int32_t\tee_info;\t/* informações adicionais */\n"
356 "\tu_int32_t\tee_data;\t/* outros dados */ \n"
357 "\t/* Mais dados podem aparecer */ \n"
358 "};\n"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy
364 #| msgid ""
365 #| "B<ee_errno> contains the errno number of the queued error. B<ee_origin> "
366 #| "is the origin code of where the error originated. The other fields are "
367 #| "protocol specific. The macro B<SOCK_EE_OFFENDER> returns a pointer to the "
368 #| "address of the network object where the error originated from given a "
369 #| "pointer to the ancillary message. If this address is not known, the "
370 #| "I<sa_family> member of the B<sockaddr> contains B<AF_UNSPEC> and the "
371 #| "other fields of the B<sockaddr> are undefined. The payload of the packet "
372 #| "that caused the error is passed as normal data."
373 msgid ""
374 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
375 "is the origin code of where the error originated. The other fields are "
376 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
377 "address of the network object where the error originated from given a "
378 "pointer to the ancillary message. If this address is not known, the "
379 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
380 "fields of the I<sockaddr> are undefined. The payload of the packet that "
381 "caused the error is passed as normal data."
382 msgstr ""
383 "B<ee_errno> contém o número do erro da fila de erros. B<ee_origin> é a "
384 "código de origem de onde foi originado o erro. Os outros campos são "
385 "específicos do protocolo. A macro B<SOCK_EE_OFFENDER> retorna um ponteiro "
386 "para o endereço do objeto da rede que originou o erro fornecendo um ponteiro "
387 "para a mensagem ancilar. Se este endereço não é conhecido, o I<sa_family> "
388 "membro de B<sockaddr> contém B<AF_UNSPEC> e os outros campos de B<sockaddr> "
389 "são indefinidos. A payload do pacote que causou o erro é passado como um "
390 "dado normal."
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, fuzzy
396 #| msgid ""
397 #| "For local errors, no address is passed (this can be checked with the "
398 #| "I<cmsg_len> member of the B<cmsghdr>). For error receives, the "
399 #| "B<MSG_ERRQUEUE> is set in the B<msghdr>. After an error has been passed, "
400 #| "the pending socket error is regenerated based on the next queued error "
401 #| "and will be passed on the next socket operation."
402 msgid ""
403 "For local errors, no address is passed (this can be checked with the "
404 "I<cmsg_len> member of the I<cmsghdr>). For error receives, the "
405 "B<MSG_ERRQUEUE> flag is set in the I<msghdr>. After an error has been "
406 "passed, the pending socket error is regenerated based on the next queued "
407 "error and will be passed on the next socket operation."
408 msgstr ""
409 "Para erros locais, nenhum endereço é passado (isto pode ser verificado com a "
410 "I<cmsg_len> membro da B<cmsghdr>). Para erros recebidos, o B<MSG_ERRQUEUE> é "
411 "selecionado na B<msghdr>. Depois de um erro ter sido passado, o erro "
412 "pendente no 'socket' é gerado novamente baseado na próxima fila de erro e "
413 "será passado na próxima operação de 'socket'."
414
415 #. type: TP
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "B<MSG_OOB>"
420 msgstr "B<MSG_OOB>"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "This flag requests receipt of out-of-band data that would not be received in "
427 "the normal data stream. Some protocols place expedited data at the head of "
428 "the normal data queue, and thus this flag cannot be used with such protocols."
429 msgstr ""
430 "Este sinalizador recebe pedidos de dados de fora-de-faixa que não seriam "
431 "recebidos no fluxo de dados normal. Alguns protocolos colocam os dados "
432 "despachados no cabeçalho da fila de dados normal, e assim este sinalizador "
433 "não pode ser usada com tais protocolos."
434
435 #. type: TP
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "B<MSG_PEEK>"
440 msgstr "B<MSG_PEEK>"
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid ""
446 "This flag causes the receive operation to return data from the beginning of "
447 "the receive queue without removing that data from the queue. Thus, a "
448 "subsequent receive call will return the same data."
449 msgstr ""
450 "Este sinalizador faz com que a operação de recebimento retorne dados a "
451 "partir do início da fila de recebimento sem remover os dados da fila. Assim, "
452 "uma chamada subsequente retornará os mesmos dados."
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<MSG_TRUNC> (since Linux 2.2)"
459 msgstr ""
460
461 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
462 #. type: Plain text
463 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
464 #: opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
467 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
468 "(since Linux 3.4) sockets: return the real size of the packet or datagram, "
469 "even when it was longer than the passed buffer."
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid "For use with Internet stream sockets, see B<tcp>(7)."
476 msgstr ""
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, fuzzy, no-wrap
482 #| msgid "B<MSG_WAITALL>"
483 msgid "B<MSG_WAITALL> (since Linux 2.2)"
484 msgstr "B<MSG_WAITALL>"
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 #, fuzzy
490 #| msgid ""
491 #| "This flag requests that the operation block until the full request is "
492 #| "satisfied. However, the call may still return less data than requested "
493 #| "if a signal is caught, an error or disconnect occurs, or the next data to "
494 #| "be received is of a different type than that returned."
495 msgid ""
496 "This flag requests that the operation block until the full request is "
497 "satisfied. However, the call may still return less data than requested if a "
498 "signal is caught, an error or disconnect occurs, or the next data to be "
499 "received is of a different type than that returned. This flag has no effect "
500 "for datagram sockets."
501 msgstr ""
502 "Este sinalizador requisita o bloqueio da operação até que toda requisição "
503 "seja satisfeita. Porém, a chamada ainda pode retornar menos dados do que foi "
504 "pedido se um sinal for pego, um erro ou uma desconexão ocorrer, ou se os "
505 "próximos dados recebidos forem de tipos diferentes do que os retornados."
506
507 #. type: SS
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "recvfrom()"
512 msgstr "recvfrom()"
513
514 #. type: Plain text
515 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
516 #: opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "B<recvfrom>() places the received message into the buffer I<buf>. The "
519 "caller must specify the size of the buffer in I<size>."
520 msgstr ""
521
522 #. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
523 #. (Note: for datagram sockets in both the UNIX and Internet domains,
524 #. .I src_addr
525 #. is filled in.
526 #. .I src_addr
527 #. is also filled in for stream sockets in the UNIX domain, but is not
528 #. filled in for stream sockets in the Internet domain.)
529 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
530 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
531 #. type: Plain text
532 #. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
533 #. (Note: for datagram sockets in both the UNIX and Internet domains,
534 #. .I src_addr
535 #. is filled in.
536 #. .I src_addr
537 #. is also filled in for stream sockets in the UNIX domain, but is not
538 #. filled in for stream sockets in the Internet domain.)
539 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
540 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
541 #. type: Plain text
542 #. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
543 #. (Note: for datagram sockets in both the UNIX and Internet domains,
544 #. .I src_addr
545 #. is filled in.
546 #. .I src_addr
547 #. is also filled in for stream sockets in the UNIX domain, but is not
548 #. filled in for stream sockets in the Internet domain.)
549 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
550 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
551 #. type: Plain text
552 #. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
553 #. (Note: for datagram sockets in both the UNIX and Internet domains,
554 #. .I src_addr
555 #. is filled in.
556 #. .I src_addr
557 #. is also filled in for stream sockets in the UNIX domain, but is not
558 #. filled in for stream sockets in the Internet domain.)
559 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
560 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
561 #. type: Plain text
562 #. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
563 #. (Note: for datagram sockets in both the UNIX and Internet domains,
564 #. .I src_addr
565 #. is filled in.
566 #. .I src_addr
567 #. is also filled in for stream sockets in the UNIX domain, but is not
568 #. filled in for stream sockets in the Internet domain.)
569 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
570 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
571 #. type: Plain text
572 #. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
573 #. (Note: for datagram sockets in both the UNIX and Internet domains,
574 #. .I src_addr
575 #. is filled in.
576 #. .I src_addr
577 #. is also filled in for stream sockets in the UNIX domain, but is not
578 #. filled in for stream sockets in the Internet domain.)
579 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
580 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
581 #. type: Plain text
582 #. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
583 #. (Note: for datagram sockets in both the UNIX and Internet domains,
584 #. .I src_addr
585 #. is filled in.
586 #. .I src_addr
587 #. is also filled in for stream sockets in the UNIX domain, but is not
588 #. filled in for stream sockets in the Internet domain.)
589 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
590 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
591 #. type: Plain text
592 #. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
593 #. (Note: for datagram sockets in both the UNIX and Internet domains,
594 #. .I src_addr
595 #. is filled in.
596 #. .I src_addr
597 #. is also filled in for stream sockets in the UNIX domain, but is not
598 #. filled in for stream sockets in the Internet domain.)
599 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
600 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid ""
605 "If I<src_addr> is not NULL, and the underlying protocol provides the source "
606 "address of the message, that source address is placed in the buffer pointed "
607 "to by I<src_addr>. In this case, I<addrlen> is a value-result argument. "
608 "Before the call, it should be initialized to the size of the buffer "
609 "associated with I<src_addr>. Upon return, I<addrlen> is updated to contain "
610 "the actual size of the source address. The returned address is truncated if "
611 "the buffer provided is too small; in this case, I<addrlen> will return a "
612 "value greater than was supplied to the call."
613 msgstr ""
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 msgid ""
619 "If the caller is not interested in the source address, I<src_addr> and "
620 "I<addrlen> should be specified as NULL."
621 msgstr ""
622
623 #. type: SS
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "recv()"
628 msgstr "recv()"
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, fuzzy
634 #| msgid ""
635 #| "The B<recv> call is normally used only on a I<connected> socket (see "
636 #| "B<connect>(2)) and is identical to B<recvfrom> with a NULL I<from> "
637 #| "parameter."
638 msgid ""
639 "The B<recv>() call is normally used only on a I<connected> socket (see "
640 "B<connect>(2)). It is equivalent to the call:"
641 msgstr ""
642 "A chamada B<recv> é normalmente utilizada somente sobre 'socket' "
643 "I<conectado> (veja B<connect>(2)) e é identico a B<recvfrom> com o parâmetro "
644 "I<from> nulo."
645
646 #. type: Plain text
647 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
648 #: opensuse-tumbleweed
649 #, fuzzy, no-wrap
650 #| msgid " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
651 msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n"
652 msgstr " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
653
654 #. type: SS
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "recvmsg()"
659 msgstr "recvmsg()"
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 #, fuzzy
665 #| msgid ""
666 #| "The B<recvmsg> call uses a I<msghdr> structure to minimize the number of "
667 #| "directly supplied parameters. This structure has the following form, as "
668 #| "defined in I<E<lt>sys/socket.hE<gt>>:"
669 msgid ""
670 "The B<recvmsg>() call uses a I<msghdr> structure to minimize the number of "
671 "directly supplied arguments. This structure is defined as follows in "
672 "I<E<lt>sys/socket.hE<gt>>:"
673 msgstr ""
674 "A chamada B<recvmsg> utiliza uma estrutura I<msghdr> para minimizar o número "
675 "de parâmetros diretamente fornecidos. Esta estrutura tem a seguinte forma, "
676 "como definida em I<E<lt>sys/socket.hE<gt>>:"
677
678 #. type: Plain text
679 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
680 #: opensuse-leap-16-1 opensuse-tumbleweed
681 #, fuzzy, no-wrap
682 #| msgid ""
683 #| "struct msghdr {\n"
684 #| "\tvoid\t* msg_name;\t/* optional address */\n"
685 #| "\tsocklen_t\tmsg_namelen;\t/* size of address */\n"
686 #| "\tstruct iovec\t* msg_iov;\t/* scatter/gather array */\n"
687 #| "\tsize_t\tmsg_iovlen;\t/* # elements in msg_iov */\n"
688 #| "\tvoid\t* msg_control;\t/* ancillary data, see below */\n"
689 #| "\tsocklen_t\tmsg_controllen;\t/* ancillary data buffer len */\n"
690 #| "\tint\tmsg_flags;\t/* flags on received message */\n"
691 #| "};\n"
692 msgid ""
693 "struct msghdr {\n"
694 " void *msg_name; /* Optional address */\n"
695 " socklen_t msg_namelen; /* Size of address */\n"
696 " struct iovec *msg_iov; /* Scatter/gather array */\n"
697 " size_t msg_iovlen; /* # elements in msg_iov */\n"
698 " void *msg_control; /* Ancillary data, see below */\n"
699 " size_t msg_controllen; /* Ancillary data buffer size */\n"
700 " int msg_flags; /* Flags on received message */\n"
701 "};\n"
702 msgstr ""
703 "struct msghdr {\n"
704 "\tvoid\t* msg_name;\t/* endereço opcional */\n"
705 "\tsocklen_t\tmsg_namelen;\t/* tamanho do endereço */\n"
706 "\tstruct iovec\t* msg_iov;\t/* array scatter/gather */\n"
707 "\tsize_t\tmsg_iovlen;\t/* # elementos na msg_iov */\n"
708 "\tvoid\t* msg_control;\t/* dados ancilares, abaixo */\n"
709 "\tsocklen_t\tmsg_controllen;\t/* tam. do 'buffer' ancilares */\n"
710 "\tint\tmsg_flags;\t/* sinalizadores nas mensagens recebidas */\n"
711 "};\n"
712
713 #. type: Plain text
714 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
715 #: opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "The I<msg_name> field points to a caller-allocated buffer that is used to "
718 "return the source address if the socket is unconnected. The caller should "
719 "set I<msg_namelen> to the size of this buffer before this call; upon return "
720 "from a successful call, I<msg_namelen> will contain the size of the returned "
721 "address. If the application does not need to know the source address, "
722 "I<msg_name> can be specified as NULL."
723 msgstr ""
724
725 #. type: Plain text
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
728 msgid ""
729 "The fields I<msg_iov> and I<msg_iovlen> describe scatter-gather locations, "
730 "as discussed in B<readv>(2)."
731 msgstr ""
732
733 #. type: Plain text
734 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
735 #: opensuse-leap-16-1 opensuse-tumbleweed
736 #, fuzzy
737 #| msgid ""
738 #| "Here I<msg_name> and I<msg_namelen> specify the destination address if "
739 #| "the socket is unconnected; I<msg_name> may be given as a null pointer if "
740 #| "no names are desired or required. The fields I<msg_iov> and "
741 #| "I<msg_iovlen> describe scatter-gather locations, as discussed in "
742 #| "B<readv>(2). The field I<msg_control>, which has length "
743 #| "I<msg_controllen>, points to a buffer for other protocol control related "
744 #| "messages or miscellaneous ancillary data. When B<recvmsg> is called, "
745 #| "I<msg_controllen> should contain the length of the available buffer in "
746 #| "I<msg_control>; upon return from a successful call it will contain the "
747 #| "length of the control message sequence."
748 msgid ""
749 "The field I<msg_control>, which has size I<msg_controllen>, points to a "
750 "buffer for other protocol control-related messages or miscellaneous "
751 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
752 "contain the size of the available buffer in I<msg_control>; upon return from "
753 "a successful call it will contain the size of the control message sequence."
754 msgstr ""
755 "Onde I<msg_name> e I<msg_namelen> especificam o endereço de destino se o "
756 "pacote não esta conectado; I<msg_name> pode ser fornecido como um ponteiro "
757 "nulo se nenhum nome são desejados ou requeridos. O campo I<msg_iov> e "
758 "I<msg_iovlen> descrevem localizações scatter-gather, como discutido em "
759 "B<readv>(2). O campo I<msg_control>, que tem tamanho I<msg_controllen>, "
760 "aponta para um 'buffer' para outro controle de protocolo de mensagens "
761 "relacionadas ou dados ancilares misturados. Quando B<recvmsg> é chamado, "
762 "I<msg_controllen> deve conter o tamanho do 'buffer' disponível na "
763 "I<msg_control>; em retorno de uma chamada bem sucedida conterá o tamanho da "
764 "sequência de mensagem de controle."
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 msgid "The messages are of the form:"
770 msgstr "As mensagens tem a forma:"
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 #, fuzzy, no-wrap
776 #| msgid ""
777 #| "struct cmsghdr {\n"
778 #| "\tsocklen_t\tcmsg_len;\t/* data byte count, including hdr */\n"
779 #| "\tint\tcmsg_level;\t/* originating protocol */\n"
780 #| "\tint\tcmsg_type;\t/* protocol-specific type */\n"
781 #| "/* followed by\n"
782 #| "\tu_char\tcmsg_data[]; */\n"
783 #| "};\n"
784 msgid ""
785 "struct cmsghdr {\n"
786 " size_t cmsg_len; /* Data byte count, including header\n"
787 " (type is socklen_t in POSIX) */\n"
788 " int cmsg_level; /* Originating protocol */\n"
789 " int cmsg_type; /* Protocol-specific type */\n"
790 "/* followed by\n"
791 " unsigned char cmsg_data[]; */\n"
792 "};\n"
793 msgstr ""
794 "struct cmsghdr {\n"
795 "\tsocklen_t\tcmsg_len;\t/* contador de bytes de dados, incluindo hdr */\n"
796 "\tint\tcmsg_level;\t/* protocolo original */\n"
797 "\tint\tcmsg_type;\t/* tipo de protocolo específico */\n"
798 "/* seguido por\n"
799 "\tu_char\tcmsg_data[]; */\n"
800 "};\n"
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 msgid ""
806 "Ancillary data should be accessed only by the macros defined in B<cmsg>(3)."
807 msgstr ""
808 "Dados ancilares só devem ser acessados pelas macros definidas em B<cmsg>(3)."
809
810 #. type: Plain text
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 #, fuzzy
814 #| msgid ""
815 #| "As an example, Linux uses this auxiliary data mechanism to pass extended "
816 #| "errors, IP options or file descriptors over Unix sockets."
817 msgid ""
818 "As an example, Linux uses this ancillary data mechanism to pass extended "
819 "errors, IP options, or file descriptors over UNIX domain sockets. For "
820 "further information on the use of ancillary data in various socket domains, "
821 "see B<unix>(7) and B<ip>(7)."
822 msgstr ""
823 "Como um exemplo, Linux usa este mecanismo de dados auxiliar para passar "
824 "erros estendidos, opções de IP ou descritores de arquivos sobre os 'sockets' "
825 "Unix."
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 msgid ""
831 "The I<msg_flags> field in the I<msghdr> is set on return of B<recvmsg>(). "
832 "It can contain several flags:"
833 msgstr ""
834 "O campo I<msg_flags> na I<msghdr> é selecionado no retorno de B<recvmsg>(). "
835 "Ele pode conter vários sinalizadores:"
836
837 #. type: TP
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "B<MSG_EOR>"
842 msgstr "B<MSG_EOR>"
843
844 #. type: Plain text
845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 #, fuzzy
848 #| msgid ""
849 #| "indicates end-of-record; the data returned completed a record (generally "
850 #| "used with sockets of type B<SOCK_SEQPACKET>)."
851 msgid ""
852 "indicates end-of-record; the data returned completed a record (generally, "
853 "used with sockets of type B<SOCK_SEQPACKET>)."
854 msgstr ""
855 "indica fim-do-registro; os dados retornados completam um registro "
856 "(geralmente usado com 'sockets' do tipo B<SOCK_SEQPACKET>)."
857
858 #. type: TP
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 #, no-wrap
862 msgid "B<MSG_TRUNC>"
863 msgstr "B<MSG_TRUNC>"
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 msgid ""
869 "indicates that the trailing portion of a datagram was discarded because the "
870 "datagram was larger than the buffer supplied."
871 msgstr ""
872 "indica que a porção trailing de um datagrama foi descartada porque o "
873 "datagrama era maior que o 'buffer' fornecido."
874
875 #. type: TP
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 #, no-wrap
879 msgid "B<MSG_CTRUNC>"
880 msgstr "B<MSG_CTRUNC>"
881
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid ""
886 "indicates that some control data was discarded due to lack of space in the "
887 "buffer for ancillary data."
888 msgstr ""
889 "indica que alguns dados de controle foram descartados devido a falta de "
890 "espaço no 'buffer' para dados ancilares."
891
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 "is returned to indicate that expedited or out-of-band data was received."
897 msgstr ""
898 "é retornado para indicar que dados despachados ou fora de faixa foram "
899 "recebidos."
900
901 #. type: TP
902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
904 #, no-wrap
905 msgid "B<MSG_ERRQUEUE>"
906 msgstr "B<MSG_ERRQUEUE>"
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "indicates that no data was received but an extended error from the socket "
913 "error queue."
914 msgstr ""
915 "indica que nenhum dado foi recebido mas um erro estendido vindo da fila de "
916 "erros do 'socket'."
917
918 #. type: TP
919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
921 #, fuzzy, no-wrap
922 #| msgid "B<MSG_ERRQUEUE>"
923 msgid "B<MSG_CMSG_CLOEXEC> (since Linux 2.6.23)"
924 msgstr "B<MSG_ERRQUEUE>"
925
926 #. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 msgid ""
931 "indicates that B<MSG_CMSG_CLOEXEC> was specified in the I<flags> argument of "
932 "B<recvmsg>()."
933 msgstr ""
934
935 #. type: SH
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 #, no-wrap
939 msgid "RETURN VALUE"
940 msgstr "VALOR DE RETORNO"
941
942 #. type: Plain text
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 #, fuzzy
946 #| msgid ""
947 #| "These calls return the number of bytes received, or -1 if an error "
948 #| "occurred."
949 msgid ""
950 "These calls return the number of bytes received, or -1 if an error "
951 "occurred. In the event of an error, I<errno> is set to indicate the error."
952 msgstr ""
953 "Essa chamada retorna o número de bytes recebidos ou -1 se um erro ocorreu."
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 msgid ""
959 "When a stream socket peer has performed an orderly shutdown, the return "
960 "value will be 0 (the traditional \"end-of-file\" return)."
961 msgstr ""
962
963 #. type: Plain text
964 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
965 #: opensuse-leap-16-1 opensuse-tumbleweed
966 msgid ""
967 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
968 "permit zero-size datagrams. When such a datagram is received, the return "
969 "value is 0."
970 msgstr ""
971
972 #. type: Plain text
973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
975 #, fuzzy
976 #| msgid ""
977 #| "These calls return the number of bytes received, or -1 if an error "
978 #| "occurred."
979 msgid ""
980 "The value 0 may also be returned if the requested number of bytes to receive "
981 "from a stream socket was 0."
982 msgstr ""
983 "Essa chamada retorna o número de bytes recebidos ou -1 se um erro ocorreu."
984
985 #. type: SH
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid "ERRORS"
990 msgstr "ERROS"
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid ""
996 "These are some standard errors generated by the socket layer. Additional "
997 "errors may be generated and returned from the underlying protocol modules; "
998 "see their manual pages."
999 msgstr ""
1000 "Estes são alguns erros padrões gerados pela camada do 'socket'. Erros "
1001 "adicionais podem ser gerados e retornado dependendo do protocolo utilizado, "
1002 "veja suas página de manual."
1003
1004 #. type: TP
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 #, no-wrap
1008 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
1009 msgstr "B<EAGAIN> ou B<EWOULDBLOCK>"
1010
1011 #. Actually EAGAIN on Linux
1012 #. type: Plain text
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, fuzzy
1016 #| msgid ""
1017 #| "The socket is marked non-blocking and the receive operation would block, "
1018 #| "or a receive timeout had been set and the timeout expired before data was "
1019 #| "received."
1020 msgid ""
1021 "The socket is marked nonblocking and the receive operation would block, or a "
1022 "receive timeout had been set and the timeout expired before data was "
1023 "received. POSIX.1 allows either error to be returned for this case, and "
1024 "does not require these constants to have the same value, so a portable "
1025 "application should check for both possibilities."
1026 msgstr ""
1027 "O 'socket' está marcado como não bloqueado e recebeu um operação que o "
1028 "bloquearia, ou recebeu um timeout e este expirou antes que os dados fossem "
1029 "recebidos."
1030
1031 #. type: TP
1032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1034 #, no-wrap
1035 msgid "B<EBADF>"
1036 msgstr "B<EBADF>"
1037
1038 #. type: Plain text
1039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1041 #, fuzzy
1042 #| msgid "The argument I<s> is an invalid descriptor."
1043 msgid "The argument I<sockfd> is an invalid file descriptor."
1044 msgstr "O argumento I<s> é um descritor inválido."
1045
1046 #. type: TP
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 #, no-wrap
1050 msgid "B<ECONNREFUSED>"
1051 msgstr "B<ECONNREFUSED>"
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 ""
1057 "A remote host refused to allow the network connection (typically because it "
1058 "is not running the requested service)."
1059 msgstr ""
1060 "Uma máquina remota recusou-se a permitir uma conexão de erro (tipicamente "
1061 "por que não tem o serviço requisitado rodando)."
1062
1063 #. type: TP
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 #, no-wrap
1067 msgid "B<EFAULT>"
1068 msgstr "B<EFAULT>"
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 msgid ""
1074 "The receive buffer pointer(s) point outside the process's address space."
1075 msgstr ""
1076 "O 'buffer' recebeu um ponteiro para fora do espaço de endereços do processo."
1077
1078 #. type: TP
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 #, no-wrap
1082 msgid "B<EINTR>"
1083 msgstr "B<EINTR>"
1084
1085 #. type: Plain text
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 #, fuzzy
1089 #| msgid ""
1090 #| "The receive was interrupted by delivery of a signal before any data were "
1091 #| "available."
1092 msgid ""
1093 "The receive was interrupted by delivery of a signal before any data was "
1094 "available; see B<signal>(7)."
1095 msgstr ""
1096 "O recebimento foi interrompido pela entrega de um sinal antes de qualquer "
1097 "dado estar disponível."
1098
1099 #. type: TP
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 #, no-wrap
1103 msgid "B<EINVAL>"
1104 msgstr "B<EINVAL>"
1105
1106 #. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom()
1107 #. type: Plain text
1108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1110 msgid "Invalid argument passed."
1111 msgstr "Foi passado um argumento inválido."
1112
1113 #. type: TP
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 #, no-wrap
1117 msgid "B<ENOMEM>"
1118 msgstr "B<ENOMEM>"
1119
1120 #. type: Plain text
1121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1123 msgid "Could not allocate memory for B<recvmsg>()."
1124 msgstr ""
1125
1126 #. type: TP
1127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1129 #, no-wrap
1130 msgid "B<ENOTCONN>"
1131 msgstr "B<ENOTCONN>"
1132
1133 #. type: Plain text
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 msgid ""
1137 "The socket is associated with a connection-oriented protocol and has not "
1138 "been connected (see B<connect>(2) and B<accept>(2))."
1139 msgstr ""
1140 "O 'socket' está associado com um protocolo orientado a conexão e não foi "
1141 "conectado (veja B<connect>(2) e B<accept>(2))."
1142
1143 #. type: TP
1144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1146 #, no-wrap
1147 msgid "B<ENOTSOCK>"
1148 msgstr "B<ENOTSOCK>"
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1153 msgid "The file descriptor I<sockfd> does not refer to a socket."
1154 msgstr "O descritor de arquivo I<sockfd> não faz referência a um socket."
1155
1156 #. type: SH
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 #, no-wrap
1160 msgid "VERSIONS"
1161 msgstr "VERSÕES"
1162
1163 #. POSIX.1-2001, POSIX.1-2008
1164 #. glibc bug for msg_controllen raised 12 Mar 2006
1165 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448
1166 #. The problem is an underlying kernel issue: the size of the
1167 #. __kernel_size_t type used to type these fields varies
1168 #. across architectures, but socklen_t is always 32 bits,
1169 #. as (at least with GCC) is int.
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid ""
1174 "According to POSIX.1, the I<msg_controllen> field of the I<msghdr> structure "
1175 "should be typed as I<socklen_t>, and the I<msg_iovlen> field should be typed "
1176 "as I<int>, but glibc currently types both as I<size_t>."
1177 msgstr ""
1178
1179 #. type: SH
1180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1182 #, no-wrap
1183 msgid "STANDARDS"
1184 msgstr "PADRÕES"
1185
1186 #. type: Plain text
1187 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1188 #: opensuse-tumbleweed
1189 msgid "POSIX.1-2024."
1190 msgstr "POSIX.1-2024."
1191
1192 #. type: SH
1193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1195 #, no-wrap
1196 msgid "HISTORY"
1197 msgstr "HISTÓRICO"
1198
1199 #. type: Plain text
1200 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1201 #: opensuse-tumbleweed
1202 msgid "POSIX.1-2001, 4.2BSD."
1203 msgstr "POSIX.1-2001, 4.2BSD."
1204
1205 #. type: Plain text
1206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1208 msgid ""
1209 "POSIX.1 describes only the B<MSG_OOB>, B<MSG_PEEK>, and B<MSG_WAITALL> flags."
1210 msgstr ""
1211
1212 #. type: SH
1213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1215 #, no-wrap
1216 msgid "NOTES"
1217 msgstr "NOTAS"
1218
1219 #. type: Plain text
1220 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1221 #: opensuse-leap-16-1 opensuse-tumbleweed
1222 msgid ""
1223 "If a zero-size datagram is pending, B<read>(2) and B<recv>() with a "
1224 "I<flags> argument of zero provide different behavior. In this circumstance, "
1225 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1226 "consumes the pending datagram."
1227 msgstr ""
1228
1229 #. type: Plain text
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 msgid ""
1233 "See B<recvmmsg>(2) for information about a Linux-specific system call that "
1234 "can be used to receive multiple datagrams in a single call."
1235 msgstr ""
1236
1237 #. type: SH
1238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1240 #, no-wrap
1241 msgid "EXAMPLES"
1242 msgstr "EXEMPLOS"
1243
1244 #. type: Plain text
1245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1247 msgid "An example of the use of B<recvfrom>() is shown in B<getaddrinfo>(3)."
1248 msgstr ""
1249
1250 #. type: SH
1251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1253 #, no-wrap
1254 msgid "SEE ALSO"
1255 msgstr "VEJA TAMBÉM"
1256
1257 #. type: Plain text
1258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1260 msgid ""
1261 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1262 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1263 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1264 msgstr ""
1265 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1266 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1267 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1268
1269 #. type: TH
1270 #: debian-trixie
1271 #, no-wrap
1272 msgid "2024-05-02"
1273 msgstr "2 maio 2024"
1274
1275 #. type: TH
1276 #: debian-trixie
1277 #, no-wrap
1278 msgid "Linux man-pages 6.9.1"
1279 msgstr "Linux man-pages 6.9.1"
1280
1281 #. type: Plain text
1282 #: debian-trixie
1283 msgid "Standard C library (I<libc>, I<-lc>)"
1284 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1285
1286 #. type: Plain text
1287 #: debian-trixie
1288 #, fuzzy, no-wrap
1289 #| msgid ""
1290 #| "B<ssize_t recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1291 #| "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
1292 msgid ""
1293 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1294 "B< int >I<flags>B<);>\n"
1295 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1296 "B< int >I<flags>B<,>\n"
1297 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1298 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1299 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1300 msgstr ""
1301 "B<ssize_t recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1302 "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
1303
1304 #. type: Plain text
1305 #: debian-trixie
1306 #, fuzzy, no-wrap
1307 #| msgid " recv(sockfd, buf, len, flags);\n"
1308 msgid "recv(sockfd, buf, len, flags);\n"
1309 msgstr " recv(sockfd, buf, len, flags);\n"
1310
1311 #. type: Plain text
1312 #: debian-trixie
1313 #, fuzzy, no-wrap
1314 #| msgid " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1315 msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1316 msgstr " recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1317
1318 #. type: Plain text
1319 #: debian-trixie
1320 #, fuzzy
1321 #| msgid ""
1322 #| "All three routines return the length of the message on successful "
1323 #| "completion. If a message is too long to fit in the supplied buffer, "
1324 #| "excess bytes may be discarded depending on the type of socket the message "
1325 #| "is received from (see B<socket>(2))."
1326 msgid ""
1327 "All three calls return the length of the message on successful completion. "
1328 "If a message is too long to fit in the supplied buffer, excess bytes may be "
1329 "discarded depending on the type of socket the message is received from."
1330 msgstr ""
1331 "Todas as três rotinas retornam o tamanho da mensagem se completada com "
1332 "sucesso. Se uma mensagem é muito longa para o 'buffer' fornecido, os bytes "
1333 "excedentes podem ser descartados dependendo do tipo de 'socket' em que a "
1334 "mensagem é recebida (veja B<socket>(2))."
1335
1336 #. type: Plain text
1337 #: debian-trixie fedora-44 fedora-rawhide
1338 msgid ""
1339 "Enables nonblocking operation; if the operation would block, the call fails "
1340 "with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior "
1341 "to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> "
1342 "operation), but differs in that B<MSG_DONTWAIT> is a per-call option, "
1343 "whereas B<O_NONBLOCK> is a setting on the open file description (see "
1344 "B<open>(2)), which will affect all threads in the calling process as well as "
1345 "other processes that hold file descriptors referring to the same open file "
1346 "description."
1347 msgstr ""
1348
1349 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
1350 #. type: Plain text
1351 #: debian-trixie
1352 msgid ""
1353 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
1354 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
1355 "(since Linux 3.4) sockets: return the real length of the packet or datagram, "
1356 "even when it was longer than the passed buffer."
1357 msgstr ""
1358
1359 #. type: Plain text
1360 #: debian-trixie
1361 msgid ""
1362 "B<recvfrom>() places the received message into the buffer I<buf>. The "
1363 "caller must specify the size of the buffer in I<len>."
1364 msgstr ""
1365
1366 #. type: Plain text
1367 #: debian-trixie
1368 #, fuzzy, no-wrap
1369 #| msgid " recvfrom(fd, buf, len, flags, NULL, 0);\n"
1370 msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1371 msgstr " recvfrom(fd, buf, len, flags, NULL, 0);\n"
1372
1373 #. type: Plain text
1374 #: debian-trixie
1375 #, fuzzy, no-wrap
1376 #| msgid ""
1377 #| "struct msghdr {\n"
1378 #| "\tvoid\t* msg_name;\t/* optional address */\n"
1379 #| "\tsocklen_t\tmsg_namelen;\t/* size of address */\n"
1380 #| "\tstruct iovec\t* msg_iov;\t/* scatter/gather array */\n"
1381 #| "\tsize_t\tmsg_iovlen;\t/* # elements in msg_iov */\n"
1382 #| "\tvoid\t* msg_control;\t/* ancillary data, see below */\n"
1383 #| "\tsocklen_t\tmsg_controllen;\t/* ancillary data buffer len */\n"
1384 #| "\tint\tmsg_flags;\t/* flags on received message */\n"
1385 #| "};\n"
1386 msgid ""
1387 "struct msghdr {\n"
1388 " void *msg_name; /* Optional address */\n"
1389 " socklen_t msg_namelen; /* Size of address */\n"
1390 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1391 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1392 " void *msg_control; /* Ancillary data, see below */\n"
1393 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1394 " int msg_flags; /* Flags on received message */\n"
1395 "};\n"
1396 msgstr ""
1397 "struct msghdr {\n"
1398 "\tvoid\t* msg_name;\t/* endereço opcional */\n"
1399 "\tsocklen_t\tmsg_namelen;\t/* tamanho do endereço */\n"
1400 "\tstruct iovec\t* msg_iov;\t/* array scatter/gather */\n"
1401 "\tsize_t\tmsg_iovlen;\t/* # elementos na msg_iov */\n"
1402 "\tvoid\t* msg_control;\t/* dados ancilares, abaixo */\n"
1403 "\tsocklen_t\tmsg_controllen;\t/* tam. do 'buffer' ancilares */\n"
1404 "\tint\tmsg_flags;\t/* sinalizadores nas mensagens recebidas */\n"
1405 "};\n"
1406
1407 #. type: Plain text
1408 #: debian-trixie
1409 msgid ""
1410 "The I<msg_name> field points to a caller-allocated buffer that is used to "
1411 "return the source address if the socket is unconnected. The caller should "
1412 "set I<msg_namelen> to the size of this buffer before this call; upon return "
1413 "from a successful call, I<msg_namelen> will contain the length of the "
1414 "returned address. If the application does not need to know the source "
1415 "address, I<msg_name> can be specified as NULL."
1416 msgstr ""
1417
1418 #. type: Plain text
1419 #: debian-trixie
1420 #, fuzzy
1421 #| msgid ""
1422 #| "Here I<msg_name> and I<msg_namelen> specify the destination address if "
1423 #| "the socket is unconnected; I<msg_name> may be given as a null pointer if "
1424 #| "no names are desired or required. The fields I<msg_iov> and "
1425 #| "I<msg_iovlen> describe scatter-gather locations, as discussed in "
1426 #| "B<readv>(2). The field I<msg_control>, which has length "
1427 #| "I<msg_controllen>, points to a buffer for other protocol control related "
1428 #| "messages or miscellaneous ancillary data. When B<recvmsg> is called, "
1429 #| "I<msg_controllen> should contain the length of the available buffer in "
1430 #| "I<msg_control>; upon return from a successful call it will contain the "
1431 #| "length of the control message sequence."
1432 msgid ""
1433 "The field I<msg_control>, which has length I<msg_controllen>, points to a "
1434 "buffer for other protocol control-related messages or miscellaneous "
1435 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
1436 "contain the length of the available buffer in I<msg_control>; upon return "
1437 "from a successful call it will contain the length of the control message "
1438 "sequence."
1439 msgstr ""
1440 "Onde I<msg_name> e I<msg_namelen> especificam o endereço de destino se o "
1441 "pacote não esta conectado; I<msg_name> pode ser fornecido como um ponteiro "
1442 "nulo se nenhum nome são desejados ou requeridos. O campo I<msg_iov> e "
1443 "I<msg_iovlen> descrevem localizações scatter-gather, como discutido em "
1444 "B<readv>(2). O campo I<msg_control>, que tem tamanho I<msg_controllen>, "
1445 "aponta para um 'buffer' para outro controle de protocolo de mensagens "
1446 "relacionadas ou dados ancilares misturados. Quando B<recvmsg> é chamado, "
1447 "I<msg_controllen> deve conter o tamanho do 'buffer' disponível na "
1448 "I<msg_control>; em retorno de uma chamada bem sucedida conterá o tamanho da "
1449 "sequência de mensagem de controle."
1450
1451 #. type: Plain text
1452 #: debian-trixie fedora-44 fedora-rawhide
1453 msgid ""
1454 "indicates end-of-record; the data returned completed a record (generally "
1455 "used with sockets of type B<SOCK_SEQPACKET>)."
1456 msgstr ""
1457 "indica fim-do-registro; os dados retornados completam um registro "
1458 "(geralmente usado com 'sockets' do tipo B<SOCK_SEQPACKET>)."
1459
1460 #. type: Plain text
1461 #: debian-trixie
1462 msgid ""
1463 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
1464 "permit zero-length datagrams. When such a datagram is received, the return "
1465 "value is 0."
1466 msgstr ""
1467
1468 #. type: Plain text
1469 #: debian-trixie fedora-44 fedora-rawhide
1470 msgid "POSIX.1-2008."
1471 msgstr "POSIX.1-2008."
1472
1473 #. type: Plain text
1474 #: debian-trixie fedora-44 fedora-rawhide
1475 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
1476 msgstr "POSIX.1-2001, 4.4BSD (apareceu pela primeira vez no 4.2BSD)."
1477
1478 #. type: Plain text
1479 #: debian-trixie
1480 msgid ""
1481 "If a zero-length datagram is pending, B<read>(2) and B<recv>() with a "
1482 "I<flags> argument of zero provide different behavior. In this circumstance, "
1483 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1484 "consumes the pending datagram."
1485 msgstr ""
1486
1487 #. type: TH
1488 #: fedora-44 fedora-rawhide
1489 #, no-wrap
1490 msgid "2024-11-17"
1491 msgstr "17 novembro 2024"
1492
1493 #. type: TH
1494 #: fedora-44 fedora-rawhide
1495 #, no-wrap
1496 msgid "Linux man-pages 6.13"
1497 msgstr "Linux man-pages 6.13"
1498
1499 #. type: Plain text
1500 #: fedora-44 fedora-rawhide
1501 #, fuzzy, no-wrap
1502 #| msgid ""
1503 #| "B<ssize_t recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1504 #| "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
1505 msgid ""
1506 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1507 "B< int >I<flags>B<);>\n"
1508 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1509 "B< int >I<flags>B<,>\n"
1510 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1511 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1512 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1513 msgstr ""
1514 "B<ssize_t recvfrom(int >I<sockfd>B<, void *>I<buf>B<, size_t >I<len>B<, int >I<flags>B<,>\n"
1515 "B< struct sockaddr *>I<src_addr>B<, socklen_t *>I<addrlen>B<);>\n"
1516
1517 #. type: Plain text
1518 #: fedora-44 fedora-rawhide
1519 #, fuzzy, no-wrap
1520 #| msgid " recvfrom(fd, buf, len, flags, NULL, 0);\n"
1521 msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1522 msgstr " recvfrom(fd, buf, len, flags, NULL, 0);\n"
1523
1524 #. type: TH
1525 #: mageia-cauldron
1526 #, no-wrap
1527 msgid "Linux man-pages 6.17"
1528 msgstr "Linux man-pages 6.17"
1529
1530 #. type: TH
1531 #: opensuse-leap-16-1 opensuse-tumbleweed
1532 #, no-wrap
1533 msgid "Linux man-pages (unreleased)"
1534 msgstr "Linux man-pages (não lançado)"