Debian Codegraph @

po/ro/man2/getpeername.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2023, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.19.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2023-07-09 14:49+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.2.2\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "getpeername"
25 msgstr "getpeername"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 octombrie 2025"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "getpeername - get name of connected peer socket"
51 msgstr "getpeername - obține numele soclului mașinii-pereche conectate"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
86 "B< socklen_t *restrict >I<addrlen>B<);>\n"
87 msgstr ""
88 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<adresa>B<,>\n"
89 "B< socklen_t *restrict >I<lungime-adresă>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIERE"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "B<getpeername>() returns the address of the peer connected to the socket "
103 "I<sockfd>, in the buffer pointed to by I<addr>. The I<addrlen> argument "
104 "should be initialized to indicate the amount of space pointed to by "
105 "I<addr>. On return it contains the actual size of the name returned (in "
106 "bytes). The name is truncated if the buffer provided is too small."
107 msgstr ""
108 "B<getpeername>() returnează adresa mașinii-pereche conectate la soclul "
109 "I<sockfd>, în memoria tampon indicată de I<adresa>. Argumentul I<lungime-"
110 "adresă> ar trebui inițializat pentru a indica cantitatea de spațiu indicată "
111 "de I<adresa>. La returnare, acesta conține dimensiunea reală a numelui "
112 "returnat (în octeți). Numele este trunchiat în cazul în care memoria tampon "
113 "furnizată este prea mică."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The returned address is truncated if the buffer provided is too small; in "
120 "this case, I<addrlen> will return a value greater than was supplied to the "
121 "call."
122 msgstr ""
123 "Adresa returnată este trunchiată în cazul în care memoria tampon furnizată "
124 "este prea mică; în acest caz, I<addrlen> va returna o valoare mai mare decât "
125 "cea furnizată la apel."
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "RETURN VALUE"
132 msgstr "VALOAREA RETURNATĂ"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
139 "to indicate the error."
140 msgstr ""
141 "În caz de succes, se returnează zero. În caz de eroare, se returnează -1, "
142 "iar I<errno> este configurată pentru a indica eroarea."
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "ERRORS"
149 msgstr "ERORI-IEȘIRE"
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<EBADF>"
156 msgstr "B<EBADF>"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid "The argument I<sockfd> is not a valid file descriptor."
162 msgstr "Argumentul I<sockfd> nu este un descriptor de fișier valid."
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<EFAULT>"
169 msgstr "B<EFAULT>"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The I<addr> argument points to memory not in a valid part of the process "
176 "address space."
177 msgstr ""
178 "Argumentul I<adresa> indică o memorie care nu se află într-o parte validă a "
179 "spațiului de adrese al procesului."
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<EINVAL>"
186 msgstr "B<EINVAL>"
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "I<addrlen> is invalid (e.g., is negative)."
192 msgstr "I<lungimea-adresei> nu este validă (de exemplu, este negativă)."
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<ENOBUFS>"
199 msgstr "B<ENOBUFS>"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Insufficient resources were available in the system to perform the operation."
206 msgstr ""
207 "Resursele disponibile în sistem au fost insuficiente pentru a efectua "
208 "operația."
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "B<ENOTCONN>"
215 msgstr "B<ENOTCONN>"
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid "The socket is not connected."
221 msgstr "Soclul nu este conectat."
222
223 #. type: TP
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "B<ENOTSOCK>"
228 msgstr "B<ENOTSOCK>"
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid "The file descriptor I<sockfd> does not refer to a socket."
234 msgstr "Descriptorul de fișier I<sockfd> nu se referă la un soclu."
235
236 #. type: SH
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "STANDARDS"
241 msgstr "STANDARDE"
242
243 #. type: Plain text
244 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
245 #: opensuse-tumbleweed
246 msgid "POSIX.1-2024."
247 msgstr "POSIX.1-2024."
248
249 #. type: SH
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "HISTORY"
254 msgstr "ISTORIC"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
260 msgstr "POSIX.1-2001, SVr4, 4.4BSD (a apărut pentru prima dată în 4.2BSD)."
261
262 #. type: SH
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "NOTES"
267 msgstr "NOTE"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "For stream sockets, once a B<connect>(2) has been performed, either socket "
274 "can call B<getpeername>() to obtain the address of the peer socket. On the "
275 "other hand, datagram sockets are connectionless. Calling B<connect>(2) on "
276 "a datagram socket merely sets the peer address for outgoing datagrams sent "
277 "with B<write>(2) or B<recv>(2). The caller of B<connect>(2) can use "
278 "B<getpeername>() to obtain the peer address that it earlier set for the "
279 "socket. However, the peer socket is unaware of this information, and "
280 "calling B<getpeername>() on the peer socket will return no useful "
281 "information (unless a B<connect>(2) call was also executed on the peer). "
282 "Note also that the receiver of a datagram can obtain the address of the "
283 "sender when using B<recvfrom>(2)."
284 msgstr ""
285 "Pentru soclurile de flux, odată ce a fost efectuat un B<connect>(2), fiecare "
286 "soclu poate apela B<getpeername>() pentru a obține adresa soclului mașinii-"
287 "pereche. Pe de altă parte, soclurile de diagramă sunt fără conexiune. "
288 "Apelarea B<connect>(2) pe un soclu de diagramă nu face decât să stabilească "
289 "adresa mașinii-pereche pentru diagramele de ieșire trimise cu B<write>(2) "
290 "sau B<recv>(2). Cea care a apelat B<connect>(2) poate utiliza "
291 "B<getpeername>() pentru a obține adresa mașinii-pereche pe care a stabilit-o "
292 "anterior pentru soclu. Cu toate acestea, soclul mașinii-pereche nu are "
293 "cunoștință de această informație, iar apelarea B<getpeername>() pe soclul "
294 "mașinii-pereche nu va returna nicio informație utilă (cu excepția cazului în "
295 "care un apel B<connect>(2) a fost, de asemenea, executat pe mașina-"
296 "pereche). Rețineți, de asemenea, că destinatarul unei diagrame de date "
297 "poate obține adresa expeditorului atunci când utilizează B<recvfrom>(2)."
298
299 #. type: SH
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "SEE ALSO"
304 msgstr "CONSULTAȚI ȘI"
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 ""
310 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
311 "B<unix>(7)"
312 msgstr ""
313 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
314 "B<unix>(7)"
315
316 #. type: TH
317 #: debian-trixie
318 #, no-wrap
319 msgid "2024-05-02"
320 msgstr "2 mai 2024"
321
322 #. type: TH
323 #: debian-trixie
324 #, no-wrap
325 msgid "Linux man-pages 6.9.1"
326 msgstr "Pagini de manual de Linux 6.9.1"
327
328 #. type: Plain text
329 #: debian-trixie
330 msgid "Standard C library (I<libc>, I<-lc>)"
331 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
332
333 #. type: Plain text
334 #: debian-trixie fedora-44 fedora-rawhide
335 msgid "POSIX.1-2008."
336 msgstr "POSIX.1-2008."
337
338 #. type: TH
339 #: fedora-44 fedora-rawhide
340 #, no-wrap
341 msgid "2024-07-23"
342 msgstr "23 iulie 2024"
343
344 #. type: TH
345 #: fedora-44 fedora-rawhide
346 #, no-wrap
347 msgid "Linux man-pages 6.13"
348 msgstr "Pagini de manual de Linux 6.13"
349
350 #. type: TH
351 #: mageia-cauldron
352 #, no-wrap
353 msgid "Linux man-pages 6.17"
354 msgstr "Pagini de manual de Linux 6.17"
355
356 #. type: TH
357 #: opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "Linux man-pages (unreleased)"
360 msgstr "Pagini de manual Linux (nepublicate)"