Debian Codegraph @

po/ro/man3/if_nameindex.3.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]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
9 "PO-Revision-Date: 2025-11-05 18:39+0100\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.6\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 "if_nameindex"
25 msgstr "if_nameindex"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
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 ""
51 "if_nameindex, if_freenameindex - get network interface names and indexes"
52 msgstr ""
53 "if_nameindex, if_freenameindex - obțin numele și indicii interfețelor de "
54 "rețea"
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 standard (I<libc>, I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>net/if.hE<gt>>\n"
81 msgstr "B<#include E<lt>net/if.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<struct if_nameindex *if_nameindex(>I<void>B<);>\n"
89 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
90 msgstr ""
91 "B<struct if_nameindex *if_nameindex(>I<void>B<);>\n"
92 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
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 "DESCRIERE"
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 msgid ""
105 "The B<if_nameindex>() function returns an array of I<if_nameindex> "
106 "structures, each containing information about one of the network interfaces "
107 "on the local system. The I<if_nameindex> structure contains at least the "
108 "following entries:"
109 msgstr ""
110 "Funcția B<if_nameindex>() returnează o matrice de structuri I<if_nameindex>, "
111 "fiecare conținând informații despre una dintre interfețele de rețea de pe "
112 "sistemul local. Structura I<if_nameindex> conține cel puțin următoarele "
113 "intrări:"
114
115 #. type: Plain text
116 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
117 #: opensuse-tumbleweed
118 #, no-wrap
119 msgid ""
120 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
121 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
122 msgstr ""
123 "unsigned int if_index; /* Indicele interfeței (1, 2, ...) */\n"
124 "char *if_name; /* Nume cu terminație nulă („eth0”, etc.) */\n"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "The I<if_index> field contains the interface index. The I<if_name> field "
131 "points to the null-terminated interface name. The end of the array is "
132 "indicated by entry with I<if_index> set to zero and I<if_name> set to NULL."
133 msgstr ""
134 "Câmpul I<if_index> conține indexul interfeței. Câmpul I<if_name> indică "
135 "numele interfeței cu terminație nulă. Sfârșitul matricei este indicat de "
136 "intrarea cu I<if_index> fixat la zero și I<if_name> fixat la NULL."
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "The data structure returned by B<if_nameindex>() is dynamically allocated "
143 "and should be freed using B<if_freenameindex>() when no longer needed."
144 msgstr ""
145 "Structura de date returnată de B<if_nameindex>() este alocată dinamic și "
146 "trebuie eliberată folosind B<if_freenameindex>() atunci când nu mai este "
147 "necesară."
148
149 #. type: SH
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "RETURN VALUE"
154 msgstr "VALOAREA RETURNATĂ"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "On success, B<if_nameindex>() returns pointer to the array; on error, NULL "
161 "is returned, and I<errno> is set to indicate the error."
162 msgstr ""
163 "În caz de succes, B<if_nameindex>() returnează indicatorul la matrice; în "
164 "caz de eroare, se returnează NULL, iar I<errno> este configurată pentru a "
165 "indica eroarea."
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "ERRORS"
172 msgstr "ERORI-IEȘIRE"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "B<if_nameindex>() may fail and set I<errno> if:"
178 msgstr "B<if_nameindex>() poate eșua și configura I<errno> dacă:"
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<ENOBUFS>"
185 msgstr "B<ENOBUFS>"
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "Insufficient resources available."
191 msgstr "Resurse disponibile insuficiente."
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "B<if_nameindex>() may also fail for any of the errors specified for "
198 "B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), B<recvmsg>(2), "
199 "B<sendto>(2), or B<malloc>(3)."
200 msgstr ""
201 "B<if_nameindex>() poate eșua, de asemenea, pentru oricare dintre erorile "
202 "specificate pentru B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), "
203 "B<recvmsg>(2), B<sendto>(2), sau B<malloc>(3)."
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "ATTRIBUTES"
210 msgstr "ATRIBUTE"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "For an explanation of the terms used in this section, see B<attributes>(7)."
217 msgstr ""
218 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
219 "B<attributes>(7)."
220
221 #. type: tbl table
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "Interface"
226 msgstr "Interfață"
227
228 #. type: tbl table
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "Attribute"
233 msgstr "Atribut"
234
235 #. type: tbl table
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "Value"
240 msgstr "Valoare"
241
242 #. type: tbl table
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid ".na\n"
247 msgstr ".na\n"
248
249 #. type: tbl table
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid ".nh\n"
254 msgstr ".nh\n"
255
256 #. type: tbl table
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid ""
261 "B<if_nameindex>(),\n"
262 "B<if_freenameindex>()"
263 msgstr ""
264 "B<if_nameindex>(),\n"
265 "B<if_freenameindex>()"
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "Thread safety"
272 msgstr "Siguranța firelor"
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "MT-Safe"
279 msgstr "MT-Safe"
280
281 #. type: SH
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "STANDARDS"
286 msgstr "STANDARDE"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid "POSIX.1-2008, RFC\\ 3493."
292 msgstr "POSIX.1-2008, RFC\\ 3493."
293
294 #. type: SH
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "HISTORY"
299 msgstr "ISTORIC"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid "glibc 2.1. POSIX.1-2001. BSDi."
305 msgstr "glibc 2.1. POSIX.1-2001. BSDi."
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "Before glibc 2.3.4, the implementation supported only interfaces with IPv4 "
312 "addresses. Support of interfaces that don't have IPv4 addresses is "
313 "available only on kernels that support netlink."
314 msgstr ""
315 "Înainte de glibc 2.3.4, implementarea suporta doar interfețe cu adrese "
316 "IPv4. Suportul interfețelor care nu au adrese IPv4 este disponibil numai pe "
317 "nucleele care suportă netlink."
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "EXAMPLES"
324 msgstr "EXEMPLE"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "The program below demonstrates the use of the functions described on this "
331 "page. An example of the output this program might produce is the following:"
332 msgstr ""
333 "Programul de mai jos demonstrează utilizarea funcțiilor descrise pe această "
334 "pagină. Un exemplu de rezultat pe care acest program îl poate produce este "
335 "următorul:"
336
337 #. type: Plain text
338 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
339 #: opensuse-tumbleweed
340 #, no-wrap
341 msgid ""
342 "$B< ./a.out>;\n"
343 "1: lo\n"
344 "2: wlan0\n"
345 "3: em1\n"
346 msgstr ""
347 "$B< ./a.out>;\n"
348 "1: lo\n"
349 "2: wlan0\n"
350 "3: em1\n"
351
352 #. type: SS
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "Program source"
357 msgstr "Sursa programului"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid ""
364 "#include E<lt>net/if.hE<gt>\n"
365 "#include E<lt>stdio.hE<gt>\n"
366 "#include E<lt>stdlib.hE<gt>\n"
367 "#include E<lt>unistd.hE<gt>\n"
368 "\\&\n"
369 "int\n"
370 "main(void)\n"
371 "{\n"
372 " struct if_nameindex *if_ni, *i;\n"
373 "\\&\n"
374 " if_ni = if_nameindex();\n"
375 " if (if_ni == NULL) {\n"
376 " perror(\"if_nameindex\");\n"
377 " exit(EXIT_FAILURE);\n"
378 " }\n"
379 "\\&\n"
380 " for (i = if_ni; !(i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
381 " printf(\"%u: %s\\[rs]n\", i-E<gt>if_index, i-E<gt>if_name);\n"
382 "\\&\n"
383 " if_freenameindex(if_ni);\n"
384 "\\&\n"
385 " exit(EXIT_SUCCESS);\n"
386 "}\n"
387 msgstr ""
388 "#include E<lt>net/if.hE<gt>\n"
389 "#include E<lt>stdio.hE<gt>\n"
390 "#include E<lt>stdlib.hE<gt>\n"
391 "#include E<lt>unistd.hE<gt>\n"
392 "\\&\n"
393 "int\n"
394 "main(void)\n"
395 "{\n"
396 " struct if_nameindex *if_ni, *i;\n"
397 "\\&\n"
398 " if_ni = if_nameindex();\n"
399 " if (if_ni == NULL) {\n"
400 " perror(\"if_nameindex\");\n"
401 " exit(EXIT_FAILURE);\n"
402 " }\n"
403 "\\&\n"
404 " for (i = if_ni; !(i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
405 " printf(\"%u: %s\\[rs]n\", i-E<gt>if_index, i-E<gt>if_name);\n"
406 "\\&\n"
407 " if_freenameindex(if_ni);\n"
408 "\\&\n"
409 " exit(EXIT_SUCCESS);\n"
410 "}\n"
411
412 #. SRC END
413 #. type: SH
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "SEE ALSO"
418 msgstr "CONSULTAȚI ȘI"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid ""
424 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
425 "B<if_nametoindex>(3), B<ifconfig>(8)"
426 msgstr ""
427 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
428 "B<if_nametoindex>(3), B<ifconfig>(8)"
429
430 #. type: TH
431 #: debian-trixie
432 #, no-wrap
433 msgid "2024-06-15"
434 msgstr "15 iunie 2024"
435
436 #. type: TH
437 #: debian-trixie
438 #, no-wrap
439 msgid "Linux man-pages 6.9.1"
440 msgstr "Pagini de manual de Linux 6.9.1"
441
442 #. type: Plain text
443 #: debian-trixie
444 msgid "Standard C library (I<libc>, I<-lc>)"
445 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
446
447 #. type: Plain text
448 #: debian-trixie fedora-44 fedora-rawhide
449 #, no-wrap
450 msgid ""
451 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
452 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
453 msgstr ""
454 "unsigned int if_index; /* Indicele interfeței (1, 2, ...) */\n"
455 "char *if_name; /* Nume cu terminație nulă („eth0”, etc.) */\n"
456
457 #. type: Plain text
458 #: debian-trixie fedora-44 fedora-rawhide
459 #, no-wrap
460 msgid ""
461 "$ B<./a.out>I<\n"
462 "1: lo\n"
463 "2: wlan0\n"
464 "3: em1>\n"
465 msgstr ""
466 "$ B<./a.out>I<\n"
467 "1: lo\n"
468 "2: wlan0\n"
469 "3: em1>\n"
470
471 #. type: TH
472 #: fedora-44 fedora-rawhide
473 #, no-wrap
474 msgid "2024-07-23"
475 msgstr "23 iulie 2024"
476
477 #. type: TH
478 #: fedora-44 fedora-rawhide
479 #, no-wrap
480 msgid "Linux man-pages 6.13"
481 msgstr "Pagini de manual de Linux 6.13"
482
483 #. type: TH
484 #: mageia-cauldron
485 #, no-wrap
486 msgid "Linux man-pages 6.17"
487 msgstr "Pagini de manual de Linux 6.17"
488
489 #. type: TH
490 #: opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "Linux man-pages (unreleased)"
493 msgstr "Pagini de manual Linux (nepublicate)"