Debian Codegraph @

po/ru/man3/if_nameindex.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitriy S. Seregin <[email protected]>, 2013.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, fuzzy, no-wrap
28 #| msgid "B<if_nameindex>(),\n"
29 msgid "if_nameindex"
30 msgstr "B<if_nameindex>(),\n"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid ""
57 "if_nameindex, if_freenameindex - get network interface names and indexes"
58 msgstr ""
59 "if_nameindex, if_freenameindex - получает имена сетевых интерфейсов и индексы"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "LIBRARY"
66 msgstr "БИБЛИОТЕКА"
67
68 #. type: Plain text
69 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
70 #: opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "Standard C library (I<libc>,\\ I<-lc>)"
72 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "SYNOPSIS"
79 msgstr "СИНТАКСИС"
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 "B<#include E<lt>net/if.hE<gt>>\n"
86 msgstr "B<#include E<lt>net/if.hE<gt>>\n"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, fuzzy, no-wrap
92 #| msgid ""
93 #| "B<struct if_nameindex *if_nameindex(void);>\n"
94 #| "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
95 msgid ""
96 "B<struct if_nameindex *if_nameindex(>I<void>B<);>\n"
97 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
98 msgstr ""
99 "B<struct if_nameindex *if_nameindex(void);>\n"
100 "B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
101
102 #. type: SH
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid "DESCRIPTION"
107 msgstr "ОПИСАНИЕ"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "The B<if_nameindex>() function returns an array of I<if_nameindex> "
114 "structures, each containing information about one of the network interfaces "
115 "on the local system. The I<if_nameindex> structure contains at least the "
116 "following entries:"
117 msgstr ""
118 "Функция B<if_nameindex>() возвращает массив структур I<if_nameindex>, "
119 "каждая из которых содержит информацию об одном из сетевых интерфейсов "
120 "системы. Структура I<if_nameindex> содержит по крайней мере следующие данные:"
121
122 #. type: Plain text
123 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
124 #: opensuse-tumbleweed
125 #, fuzzy, no-wrap
126 #| msgid ""
127 #| "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
128 #| "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
129 msgid ""
130 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
131 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
132 msgstr ""
133 "unsigned int if_index; /* индекс интерфейса (1, 2, …) */\n"
134 "char *if_name; /* имя с Null в конце («eth0», и т. д.) */\n"
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "The I<if_index> field contains the interface index. The I<if_name> field "
141 "points to the null-terminated interface name. The end of the array is "
142 "indicated by entry with I<if_index> set to zero and I<if_name> set to NULL."
143 msgstr ""
144 "В поле I<if_index> содержится индекс интерфейса. Значение поля I<if_name> "
145 "указывает на имя интерфейса (завершается null). Конец массива определяется "
146 "по записи I<if_index> с нулевым значением и по записи I<if_name> со "
147 "значением NULL."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The data structure returned by B<if_nameindex>() is dynamically allocated "
154 "and should be freed using B<if_freenameindex>() when no longer needed."
155 msgstr ""
156 "Память под структуру данных, возвращаемая B<if_nameindex>(), выделяется "
157 "динамически и должна освобождаться с помощью B<if_freenameindex>(), когда "
158 "больше не нужна."
159
160 #. type: SH
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid "RETURN VALUE"
165 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, fuzzy
171 #| msgid ""
172 #| "On success, B<if_nameindex>() returns pointer to the array; on error, "
173 #| "NULL is returned, and I<errno> is set appropriately."
174 msgid ""
175 "On success, B<if_nameindex>() returns pointer to the array; on error, NULL "
176 "is returned, and I<errno> is set to indicate the error."
177 msgstr ""
178 "При успешном выполнении B<if_nameindex>() возвращает указатель на массив. В "
179 "случае ошибки возвращается NULL, а I<errno> устанавливается в "
180 "соответствующее значение."
181
182 #. type: SH
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "ERRORS"
187 msgstr "ОШИБКИ"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "B<if_nameindex>() may fail and set I<errno> if:"
193 msgstr ""
194 "Функция B<if_nameindex>() может завершиться с ошибкой и изменить I<errno> "
195 "если:"
196
197 #. type: TP
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "B<ENOBUFS>"
202 msgstr "B<ENOBUFS>"
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid "Insufficient resources available."
208 msgstr "Недостаточно ресурсов."
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "B<if_nameindex>() may also fail for any of the errors specified for "
215 "B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), B<recvmsg>(2), "
216 "B<sendto>(2), or B<malloc>(3)."
217 msgstr ""
218 "Также функция B<if_nameindex>() может завершиться с ошибками, перечисленными "
219 "в B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), B<recvmsg>(2), "
220 "B<sendto>(2) или B<malloc>(3)."
221
222 #. type: SH
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "ATTRIBUTES"
227 msgstr "АТРИБУТЫ"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "For an explanation of the terms used in this section, see B<attributes>(7)."
234 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
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 "Interface"
241 msgstr "Интерфейс"
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 "Attribute"
248 msgstr "Атрибут"
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 "Value"
255 msgstr "Значение"
256
257 #. type: tbl table
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid ".na\n"
262 msgstr ".na\n"
263
264 #. type: tbl table
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid ".nh\n"
269 msgstr ".nh\n"
270
271 #. type: tbl table
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, fuzzy, no-wrap
275 #| msgid ""
276 #| "B<if_nametoindex>(),\n"
277 #| "B<if_indextoname>()"
278 msgid ""
279 "B<if_nameindex>(),\n"
280 "B<if_freenameindex>()"
281 msgstr ""
282 "B<if_nametoindex>(),\n"
283 "B<if_indextoname>()"
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "Thread safety"
290 msgstr "Безвредность в нитях"
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "MT-Safe"
297 msgstr "MT-Safe"
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 "STANDARDS"
304 msgstr "СТАНДАРТЫ"
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 "POSIX.1-2008, RFC\\ 3493."
310 msgstr "POSIX.1-2008, RFC\\ 3493."
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 "HISTORY"
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 #, fuzzy
323 #| msgid "glibc 2.1. C99, POSIX.1-2001."
324 msgid "glibc 2.1. POSIX.1-2001. BSDi."
325 msgstr "glibc 2.1. C99, POSIX.1-2001."
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, fuzzy
331 #| msgid ""
332 #| "The B<if_nameindex>() function first appeared in glibc 2.1, but before "
333 #| "glibc 2.3.4, the implementation supported only interfaces with IPv4 "
334 #| "addresses. Support of interfaces that don't have IPv4 addresses is "
335 #| "available only on kernels that support netlink."
336 msgid ""
337 "Before glibc 2.3.4, the implementation supported only interfaces with IPv4 "
338 "addresses. Support of interfaces that don't have IPv4 addresses is "
339 "available only on kernels that support netlink."
340 msgstr ""
341 "Впервые функция B<if_nameindex>() появилась в glibc 2.1, но до glibc 2.3.4, "
342 "реализация поддерживала только интерфейсы с адресами IPv4. Поддержка "
343 "интерфейсов без адресов IPv4 доступна только в ядрах, поддерживающих netlink."
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "EXAMPLES"
350 msgstr "ПРИМЕРЫ"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "The program below demonstrates the use of the functions described on this "
357 "page. An example of the output this program might produce is the following:"
358 msgstr ""
359 "В программе, показанной далее, демонстрируется использование функции, "
360 "описанной на этой странице. Пример вывода этой программы может быть "
361 "следующим:"
362
363 #. type: Plain text
364 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 #, fuzzy, no-wrap
367 #| msgid ""
368 #| "$ B<./a.out>I<\n"
369 #| "1: lo\n"
370 #| "2: wlan0\n"
371 #| "3: em1>\n"
372 msgid ""
373 "$B< ./a.out>;\n"
374 "1: lo\n"
375 "2: wlan0\n"
376 "3: em1\n"
377 msgstr ""
378 "$ B<./a.out>I<\n"
379 "1: lo\n"
380 "2: wlan0\n"
381 "3: em1>\n"
382
383 #. type: SS
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "Program source"
388 msgstr "Исходный код программы"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid ""
395 "#include E<lt>net/if.hE<gt>\n"
396 "#include E<lt>stdio.hE<gt>\n"
397 "#include E<lt>stdlib.hE<gt>\n"
398 "#include E<lt>unistd.hE<gt>\n"
399 "\\&\n"
400 "int\n"
401 "main(void)\n"
402 "{\n"
403 " struct if_nameindex *if_ni, *i;\n"
404 "\\&\n"
405 " if_ni = if_nameindex();\n"
406 " if (if_ni == NULL) {\n"
407 " perror(\"if_nameindex\");\n"
408 " exit(EXIT_FAILURE);\n"
409 " }\n"
410 "\\&\n"
411 " for (i = if_ni; !(i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
412 " printf(\"%u: %s\\[rs]n\", i-E<gt>if_index, i-E<gt>if_name);\n"
413 "\\&\n"
414 " if_freenameindex(if_ni);\n"
415 "\\&\n"
416 " exit(EXIT_SUCCESS);\n"
417 "}\n"
418 msgstr ""
419
420 #. SRC END
421 #. type: SH
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "SEE ALSO"
426 msgstr "СМОТРИТЕ ТАКЖЕ"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
433 "B<if_nametoindex>(3), B<ifconfig>(8)"
434 msgstr ""
435 "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
436 "B<if_nametoindex>(3), B<ifconfig>(8)"
437
438 #. type: TH
439 #: debian-trixie
440 #, no-wrap
441 msgid "2024-06-15"
442 msgstr "15 июня 2024 г."
443
444 #. type: TH
445 #: debian-trixie
446 #, no-wrap
447 msgid "Linux man-pages 6.9.1"
448 msgstr "Страницы руководства Linux 6.9.1"
449
450 #. type: Plain text
451 #: debian-trixie
452 msgid "Standard C library (I<libc>, I<-lc>)"
453 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
454
455 #. type: Plain text
456 #: debian-trixie fedora-44 fedora-rawhide
457 #, no-wrap
458 msgid ""
459 "unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
460 "char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
461 msgstr ""
462 "unsigned int if_index; /* индекс интерфейса (1, 2, …) */\n"
463 "char *if_name; /* имя с Null в конце («eth0», и т. д.) */\n"
464
465 #. type: Plain text
466 #: debian-trixie fedora-44 fedora-rawhide
467 #, no-wrap
468 msgid ""
469 "$ B<./a.out>I<\n"
470 "1: lo\n"
471 "2: wlan0\n"
472 "3: em1>\n"
473 msgstr ""
474 "$ B<./a.out>I<\n"
475 "1: lo\n"
476 "2: wlan0\n"
477 "3: em1>\n"
478
479 #. type: TH
480 #: fedora-44 fedora-rawhide
481 #, no-wrap
482 msgid "2024-07-23"
483 msgstr "23 июля 2024 г."
484
485 #. type: TH
486 #: fedora-44 fedora-rawhide
487 #, no-wrap
488 msgid "Linux man-pages 6.13"
489 msgstr "Страницы руководства Linux 6.13"
490
491 #. type: TH
492 #: mageia-cauldron
493 #, no-wrap
494 msgid "Linux man-pages 6.17"
495 msgstr "Страницы руководства Linux 6.17"
496
497 #. type: TH
498 #: opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "Linux man-pages (unreleased)"
501 msgstr "Страницы руководства Linux (не выпущены)"