Debian Codegraph @

po/ar/man3/if_nameindex.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
9 "PO-Revision-Date: 2026-06-02 19:26+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\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=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\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 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 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 "الاسم"
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 "if_nameindex, if_freenameindex - الحصول على أسماء وفهارس واجهات الشبكة"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "موجز"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>net/if.hE<gt>>\n"
79 msgstr "B<#include E<lt>net/if.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<struct if_nameindex *if_nameindex(>I<void>B<);>\n"
87 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
88 msgstr ""
89 "B<struct if_nameindex *if_nameindex(>I<void>B<);>\n"
90 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "الوصف"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "The B<if_nameindex>() function returns an array of I<if_nameindex> "
104 "structures, each containing information about one of the network interfaces "
105 "on the local system. The I<if_nameindex> structure contains at least the "
106 "following entries:"
107 msgstr ""
108 "ترجع الدالة B<if_nameindex>() مصفوفة من تراكيب I<if_nameindex>، يحتوي كل "
109 "منها على معلومات عن إحدى واجهات الشبكة في النظام المحلي. يحتوي التركيب "
110 "I<if_nameindex> على الأقل على المدخلات التالية:"
111
112 #. type: Plain text
113 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
114 #: opensuse-tumbleweed
115 #, no-wrap
116 msgid ""
117 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
118 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
119 msgstr ""
120 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
121 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
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 I<if_index> field contains the interface index. The I<if_name> field "
128 "points to the null-terminated interface name. The end of the array is "
129 "indicated by entry with I<if_index> set to zero and I<if_name> set to NULL."
130 msgstr ""
131 "يحتوي الحقل I<if_index> على فهرس الواجهة. يشير الحقل I<if_name> إلى اسم "
132 "الواجهة المنتهي بصفر. يُشار إلى نهاية المصفوفة بمدخل فيه I<if_index> مضبوط "
133 "على صفر و I<if_name> مضبوط على NULL."
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "The data structure returned by B<if_nameindex>() is dynamically allocated "
140 "and should be freed using B<if_freenameindex>() when no longer needed."
141 msgstr ""
142 "يُخصص تركيب البيانات الذي ترجعه B<if_nameindex>() ديناميكيًا ويجب تحريره "
143 "باستخدام B<if_freenameindex>() عند عدم الحاجة إليه."
144
145 #. type: SH
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "RETURN VALUE"
150 msgstr "قيمة الإرجاع"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "On success, B<if_nameindex>() returns pointer to the array; on error, NULL "
157 "is returned, and I<errno> is set to indicate the error."
158 msgstr ""
159 "عند النجاح، ترجع B<if_nameindex>() مؤشرًا إلى المصفوفة؛ عند الخطأ، يُرجع NULL، "
160 "ويُضبط I<errno> للإشارة إلى الخطأ."
161
162 #. type: SH
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "ERRORS"
167 msgstr "الأخطاء"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid "B<if_nameindex>() may fail and set I<errno> if:"
173 msgstr "قد تفشل B<if_nameindex>() وتضبط I<errno> إذا:"
174
175 #. type: TP
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "B<ENOBUFS>"
180 msgstr "B<ENOBUFS>"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid "Insufficient resources available."
186 msgstr "موارد غير كافية متاحة."
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 ""
192 "B<if_nameindex>() may also fail for any of the errors specified for "
193 "B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), B<recvmsg>(2), "
194 "B<sendto>(2), or B<malloc>(3)."
195 msgstr ""
196 "قد تفشل B<if_nameindex>() أيضًا لأي من الأخطاء المحددة لـ B<socket>(2)، "
197 "B<bind>(2)، B<ioctl>(2)، B<getsockname>(2)، B<recvmsg>(2)، B<sendto>(2)، أو "
198 "B<malloc>(3)."
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "ATTRIBUTES"
205 msgstr "السمات"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "For an explanation of the terms used in this section, see B<attributes>(7)."
212 msgstr ""
213 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
214
215 #. type: tbl table
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "Interface"
220 msgstr "الواجهة"
221
222 #. type: tbl table
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "Attribute"
227 msgstr "السمة"
228
229 #. type: tbl table
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "Value"
234 msgstr "القيمة"
235
236 #. type: tbl table
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid ".na\n"
241 msgstr ".na\n"
242
243 #. type: tbl table
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid ".nh\n"
248 msgstr ".nh\n"
249
250 #. type: tbl table
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid ""
255 "B<if_nameindex>(),\n"
256 "B<if_freenameindex>()"
257 msgstr ""
258 "B<if_nameindex>(),\n"
259 "B<if_freenameindex>()"
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "Thread safety"
266 msgstr "سلامة الخيوط"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "MT-Safe"
273 msgstr "MT-Safe"
274
275 #. type: SH
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "STANDARDS"
280 msgstr "المعايير"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "POSIX.1-2008, RFC\\ 3493."
286 msgstr "POSIX.1-2008, RFC\\ 3493."
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "HISTORY"
293 msgstr "التاريخ"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "glibc 2.1. POSIX.1-2001. BSDi."
299 msgstr "glibc 2.1. POSIX.1-2001. BSDi."
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 ""
305 "Before glibc 2.3.4, the implementation supported only interfaces with IPv4 "
306 "addresses. Support of interfaces that don't have IPv4 addresses is "
307 "available only on kernels that support netlink."
308 msgstr ""
309 "قبل glibc 2.3.4، دعم التنفيذ فقط الواجهات بعناوين IPv4. دعم الواجهات التي لا "
310 "تحتوي على عناوين IPv4 متاح فقط على الأنوية التي تدعم netlink."
311
312 #. type: SH
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "EXAMPLES"
317 msgstr "أمثلة"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "The program below demonstrates the use of the functions described on this "
324 "page. An example of the output this program might produce is the following:"
325 msgstr ""
326 "يُظهر البرنامج أدناه استخدام الدوال الموصوفة في هذه الصفحة. مثال على المخرجات "
327 "التي قد ينتجها هذا البرنامج هو التالي:"
328
329 #. type: Plain text
330 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
331 #: opensuse-tumbleweed
332 #, no-wrap
333 msgid ""
334 "$B< ./a.out>;\n"
335 "1: lo\n"
336 "2: wlan0\n"
337 "3: em1\n"
338 msgstr ""
339 "$B< ./a.out>;\n"
340 "1: lo\n"
341 "2: wlan0\n"
342 "3: em1\n"
343
344 #. type: SS
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "Program source"
349 msgstr "مصدر البرنامج"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid ""
356 "#include E<lt>net/if.hE<gt>\n"
357 "#include E<lt>stdio.hE<gt>\n"
358 "#include E<lt>stdlib.hE<gt>\n"
359 "#include E<lt>unistd.hE<gt>\n"
360 "\\&\n"
361 "int\n"
362 "main(void)\n"
363 "{\n"
364 " struct if_nameindex *if_ni, *i;\n"
365 "\\&\n"
366 " if_ni = if_nameindex();\n"
367 " if (if_ni == NULL) {\n"
368 " perror(\"if_nameindex\");\n"
369 " exit(EXIT_FAILURE);\n"
370 " }\n"
371 "\\&\n"
372 " for (i = if_ni; !(i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
373 " printf(\"%u: %s\\[rs]n\", i-E<gt>if_index, i-E<gt>if_name);\n"
374 "\\&\n"
375 " if_freenameindex(if_ni);\n"
376 "\\&\n"
377 " exit(EXIT_SUCCESS);\n"
378 "}\n"
379 msgstr ""
380 "#include E<lt>net/if.hE<gt>\n"
381 "#include E<lt>stdio.hE<gt>\n"
382 "#include E<lt>stdlib.hE<gt>\n"
383 "#include E<lt>unistd.hE<gt>\n"
384 "\\&\n"
385 "int\n"
386 "main(void)\n"
387 "{\n"
388 " struct if_nameindex *if_ni, *i;\n"
389 "\\&\n"
390 " if_ni = if_nameindex();\n"
391 " if (if_ni == NULL) {\n"
392 " perror(\"if_nameindex\");\n"
393 " exit(EXIT_FAILURE);\n"
394 " }\n"
395 "\\&\n"
396 " for (i = if_ni; !(i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
397 " printf(\"%u: %s\\[rs]n\", i-E<gt>if_index, i-E<gt>if_name);\n"
398 "\\&\n"
399 " if_freenameindex(if_ni);\n"
400 "\\&\n"
401 " exit(EXIT_SUCCESS);\n"
402 "}\n"
403
404 #. SRC END
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "SEE ALSO"
410 msgstr "انظر أيضًا"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
417 "B<if_nametoindex>(3), B<ifconfig>(8)"
418 msgstr ""
419 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
420 "B<if_nametoindex>(3), B<ifconfig>(8)"
421
422 #. type: TH
423 #: debian-trixie
424 #, no-wrap
425 msgid "2024-06-15"
426 msgstr "15 يونيو 2024"
427
428 #. type: TH
429 #: debian-trixie
430 #, no-wrap
431 msgid "Linux man-pages 6.9.1"
432 msgstr "صفحات دليل لينكس 6.9.1"
433
434 #. type: Plain text
435 #: debian-trixie
436 msgid "Standard C library (I<libc>, I<-lc>)"
437 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
438
439 #. type: Plain text
440 #: debian-trixie fedora-44 fedora-rawhide
441 #, no-wrap
442 msgid ""
443 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
444 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
445 msgstr ""
446 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
447 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
448
449 #. type: Plain text
450 #: debian-trixie fedora-44 fedora-rawhide
451 #, no-wrap
452 msgid ""
453 "$ B<./a.out>I<\n"
454 "1: lo\n"
455 "2: wlan0\n"
456 "3: em1>\n"
457 msgstr ""
458 "$ B<./a.out>I<\n"
459 "1: lo\n"
460 "2: wlan0\n"
461 "3: em1>\n"
462
463 #. type: TH
464 #: fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "2024-07-23"
467 msgstr "23 يوليو 2024"
468
469 #. type: TH
470 #: fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid "Linux man-pages 6.13"
473 msgstr "صفحات دليل لينكس 6.13"
474
475 #. type: TH
476 #: mageia-cauldron
477 #, no-wrap
478 msgid "Linux man-pages 6.17"
479 msgstr "صفحات دليل لينكس 6.17"
480
481 #. type: TH
482 #: opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Linux man-pages (unreleased)"
485 msgstr "صفحات دليل لينكس (لم تصدر بعد)"