Debian Codegraph @

po/pt_BR/man2/getpeername.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 # Ricardo C.O.Freitas <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: Ricardo C.O.Freitas <[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 "getpeername"
26 msgstr "getpeername"
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 #, fuzzy
53 #| msgid "getpeername - get name of connected peer"
54 msgid "getpeername - get name of connected peer socket"
55 msgstr "getpeername - obtém o nome do peer conectado"
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/socket.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, fuzzy, no-wrap
88 #| msgid "B<int getpeername(int >I<sockfd>B<, struct sockaddr *>I<addr>B<, socklen_t *>I<addrlen>B<);>"
89 msgid ""
90 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
91 "B< socklen_t *restrict >I<addrlen>B<);>\n"
92 msgstr "B<int getpeername(int >I<sockfd>B<, struct sockaddr *>I<addr>B<, socklen_t *>I<addrlen>B<);>"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "DESCRIÇÃO"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, fuzzy
105 #| msgid ""
106 #| "B<Getpeername> returns the name of the peer connected to socket I<s>. "
107 #| "The I<namelen> parameter should be initialized to indicate the amount of "
108 #| "space pointed to by I<name>. On return it contains the actual size of "
109 #| "the name returned (in bytes). The name is truncated if the buffer "
110 #| "provided is too small."
111 msgid ""
112 "B<getpeername>() returns the address of the peer connected to the socket "
113 "I<sockfd>, in the buffer pointed to by I<addr>. The I<addrlen> argument "
114 "should be initialized to indicate the amount of space pointed to by "
115 "I<addr>. On return it contains the actual size of the name returned (in "
116 "bytes). The name is truncated if the buffer provided is too small."
117 msgstr ""
118 "B<Getpeername> devolve o nome do 'peer' conectado para o 'socket' I<s>. O "
119 "parâmetro I<namelen> deveria ser inicializado para indicar a quantidade de "
120 "espaço apontado pelo I<name>. No retorno ele contém o tamanho atual do nome "
121 "devolvido (em bytes). O nome é cortado se o 'buffer' fornecido for pequeno."
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "The returned address is truncated if the buffer provided is too small; in "
128 "this case, I<addrlen> will return a value greater than was supplied to the "
129 "call."
130 msgstr ""
131 "O endereço retornado é truncado se o buffer fornecido for pequeno demais; "
132 "neste caspp, I<addrlen> vai retornar um valor maior que o que foi fornecido "
133 "para a chamada."
134
135 #. type: SH
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "RETURN VALUE"
140 msgstr "VALOR DE RETORNO"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
147 "to indicate the error."
148 msgstr ""
149 "Em caso de sucesso, zero é retornado. Em caso de erro, -1 é retornado, e "
150 "I<errno> é definido para indicar o erro."
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "ERRORS"
157 msgstr "ERROS"
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<EBADF>"
164 msgstr "B<EBADF>"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid "The argument I<sockfd> is not a valid file descriptor."
170 msgstr "O argumento I<sockfd> não é um descritor de arquivo válido."
171
172 #. type: TP
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "B<EFAULT>"
177 msgstr "B<EFAULT>"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "The I<addr> argument points to memory not in a valid part of the process "
184 "address space."
185 msgstr ""
186 "O argumento I<addr> aponta para memória que não está em uma parte válida do "
187 "espaço de endereço de processo."
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<EINVAL>"
194 msgstr "B<EINVAL>"
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 "I<addrlen> is invalid (e.g., is negative)."
200 msgstr "I<addrlen> é inválido (por exemplo, é negativo)."
201
202 #. type: TP
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "B<ENOBUFS>"
207 msgstr "B<ENOBUFS>"
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "Insufficient resources were available in the system to perform the operation."
214 msgstr "Recursos insuficientes no seu sistema para completar a operação."
215
216 #. type: TP
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "B<ENOTCONN>"
221 msgstr "B<ENOTCONN>"
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 "The socket is not connected."
227 msgstr "O 'socket' não está conectado."
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<ENOTSOCK>"
234 msgstr "B<ENOTSOCK>"
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid "The file descriptor I<sockfd> does not refer to a socket."
240 msgstr "O descritor de arquivo I<sockfd> não faz referência a um socket."
241
242 #. type: SH
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "STANDARDS"
247 msgstr "PADRÕES"
248
249 #. type: Plain text
250 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
251 #: opensuse-tumbleweed
252 msgid "POSIX.1-2024."
253 msgstr "POSIX.1-2024."
254
255 #. type: SH
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "HISTORY"
260 msgstr "HISTÓRICO"
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
266 msgstr "POSIX.1-2001, SVr4, 4.4BSD (apareceu pela primeira vez em 4.2BSD)."
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "NOTES"
273 msgstr "NOTAS"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "For stream sockets, once a B<connect>(2) has been performed, either socket "
280 "can call B<getpeername>() to obtain the address of the peer socket. On the "
281 "other hand, datagram sockets are connectionless. Calling B<connect>(2) on "
282 "a datagram socket merely sets the peer address for outgoing datagrams sent "
283 "with B<write>(2) or B<recv>(2). The caller of B<connect>(2) can use "
284 "B<getpeername>() to obtain the peer address that it earlier set for the "
285 "socket. However, the peer socket is unaware of this information, and "
286 "calling B<getpeername>() on the peer socket will return no useful "
287 "information (unless a B<connect>(2) call was also executed on the peer). "
288 "Note also that the receiver of a datagram can obtain the address of the "
289 "sender when using B<recvfrom>(2)."
290 msgstr ""
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "SEE ALSO"
297 msgstr "VEJA TAMBÉM"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
304 "B<unix>(7)"
305 msgstr ""
306 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
307 "B<unix>(7)"
308
309 #. type: TH
310 #: debian-trixie
311 #, no-wrap
312 msgid "2024-05-02"
313 msgstr "2 maio 2024"
314
315 #. type: TH
316 #: debian-trixie
317 #, no-wrap
318 msgid "Linux man-pages 6.9.1"
319 msgstr "Linux man-pages 6.9.1"
320
321 #. type: Plain text
322 #: debian-trixie
323 msgid "Standard C library (I<libc>, I<-lc>)"
324 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
325
326 #. type: Plain text
327 #: debian-trixie fedora-44 fedora-rawhide
328 msgid "POSIX.1-2008."
329 msgstr "POSIX.1-2008."
330
331 #. type: TH
332 #: fedora-44 fedora-rawhide
333 #, no-wrap
334 msgid "2024-07-23"
335 msgstr "23 julho 2024"
336
337 #. type: TH
338 #: fedora-44 fedora-rawhide
339 #, no-wrap
340 msgid "Linux man-pages 6.13"
341 msgstr "Linux man-pages 6.13"
342
343 #. type: TH
344 #: mageia-cauldron
345 #, no-wrap
346 msgid "Linux man-pages 6.17"
347 msgstr "Linux man-pages 6.17"
348
349 #. type: TH
350 #: opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "Linux man-pages (unreleased)"
353 msgstr "Linux man-pages (não lançado)"