Debian Codegraph @

po/ru/man3/inet.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 #, no-wrap
28 msgid "inet"
29 msgstr ""
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid ""
56 "inet_aton, inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, "
57 "inet_netof - Internet address manipulation routines"
58 msgstr ""
59 "inet_aton, inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, "
60 "inet_netof - функции для работы с адресами Интернет"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<#include E<lt>sys/socket.hE<gt>>\n"
88 "B<#include E<lt>netinet/in.hE<gt>>\n"
89 "B<#include E<lt>arpa/inet.hE<gt>>\n"
90 msgstr ""
91 "B<#include E<lt>sys/socket.hE<gt>>\n"
92 "B<#include E<lt>netinet/in.hE<gt>>\n"
93 "B<#include E<lt>arpa/inet.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid "B<int inet_aton(const char *>I<cp>B<, struct in_addr *>I<inp>B<);>\n"
100 msgstr "B<int inet_aton(const char *>I<cp>B<, struct in_addr *>I<inp>B<);>\n"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, fuzzy, no-wrap
106 #| msgid "B<in_addr_t inet_network(const char *>I<cp>B<);>\n"
107 msgid ""
108 "B<in_addr_t inet_addr(const char *>I<cp>B<);>\n"
109 "B<in_addr_t inet_network(const char *>I<cp>B<);>\n"
110 msgstr "B<in_addr_t inet_network(const char *>I<cp>B<);>\n"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, fuzzy, no-wrap
116 #| msgid "B<char *inet_ntoa(struct in_addr >I<in>B<);>\n"
117 msgid "B<[[deprecated]] char *inet_ntoa(struct in_addr >I<in>B<);>\n"
118 msgstr "B<char *inet_ntoa(struct in_addr >I<in>B<);>\n"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, fuzzy, no-wrap
124 #| msgid "B<struct in_addr inet_makeaddr(in_addr_t >I<net>B<, in_addr_t >I<host>B<);>\n"
125 msgid ""
126 "B<[[deprecated]] struct in_addr inet_makeaddr(in_addr_t >I<net>B<,>\n"
127 "B< in_addr_t >I<host>B<);>\n"
128 msgstr "B<struct in_addr inet_makeaddr(in_addr_t >I<net>B<, in_addr_t >I<host>B<);>\n"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, fuzzy, no-wrap
134 #| msgid "B<in_addr_t inet_lnaof(struct in_addr >I<in>B<);>\n"
135 msgid ""
136 "B<[[deprecated]] in_addr_t inet_lnaof(struct in_addr >I<in>B<);>\n"
137 "B<[[deprecated]] in_addr_t inet_netof(struct in_addr >I<in>B<);>\n"
138 msgstr "B<in_addr_t inet_lnaof(struct in_addr >I<in>B<);>\n"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
145 msgstr ""
146 "Требования макроса тестирования свойств для glibc (см. "
147 "B<feature_test_macros>(7)):"
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 "B<inet_aton>(), B<inet_ntoa>():"
153 msgstr "B<inet_aton>(), B<inet_ntoa>():"
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid ""
160 " Since glibc 2.19:\n"
161 " _DEFAULT_SOURCE\n"
162 " In glibc up to and including 2.19:\n"
163 " _BSD_SOURCE || _BSD_SOURCE\n"
164 msgstr ""
165 " начиная с glibc 2.19:\n"
166 " _DEFAULT_SOURCE\n"
167 " в glibc до версии 2.19 включительно:\n"
168 " _BSD_SOURCE || _BSD_SOURCE\n"
169
170 #. type: SH
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "DESCRIPTION"
175 msgstr "ОПИСАНИЕ"
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "B<inet_aton>() converts the Internet host address I<cp> from the IPv4 "
182 "numbers-and-dots notation into binary form (in network byte order) and "
183 "stores it in the structure that I<inp> points to. B<inet_aton>() returns "
184 "nonzero if the address is valid, zero if not. The address supplied in I<cp> "
185 "can have one of the following forms:"
186 msgstr ""
187 "B<inet_aton>() преобразует адрес Интернет-узла I<cp> из числовой формы "
188 "записи IPv4 с точками (IPv4 numbers-and-dots) в двоичную форму (с сетевым "
189 "порядком байт) и сохраняет её в структуре, на которую ссылается I<inp>. "
190 "B<inet_aton>() возвращает ненулевое значение, если адрес правильный, и ноль, "
191 "если нет. Адрес, указанный в I<cp>, может принимать одну из следующих форм:"
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "I<a.b.c.d>"
198 msgstr "I<a.b.c.d>"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "Each of the four numeric parts specifies a byte of the address; the bytes "
205 "are assigned in left-to-right order to produce the binary address."
206 msgstr ""
207 "Каждая из четырёх групп чисел представляет байт адреса; байты назначаются "
208 "слева направо."
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 "I<a.b.c>"
215 msgstr "I<a.b.c>"
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 ""
221 "Parts I<a> and I<b> specify the first two bytes of the binary address. Part "
222 "I<c> is interpreted as a 16-bit value that defines the rightmost two bytes "
223 "of the binary address. This notation is suitable for specifying (outmoded) "
224 "Class B network addresses."
225 msgstr ""
226 "Части I<a> и I<b> задают первые два байта двоичного адреса. Часть I<c> "
227 "расценивается как 16-разрядное значение, определяющее два самых правых байта "
228 "двоичного адреса. Такая запись совместима c сетевыми адресами (устаревшими) "
229 "класса B."
230
231 #. type: TP
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "I<a.b>"
236 msgstr "I<a.b>"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "Part I<a> specifies the first byte of the binary address. Part I<b> is "
243 "interpreted as a 24-bit value that defines the rightmost three bytes of the "
244 "binary address. This notation is suitable for specifying (outmoded) Class A "
245 "network addresses."
246 msgstr ""
247 "Часть I<a> определяет первый байт двоичного адреса. Часть I<b> расценивается "
248 "как 24-разрядное значение, определяющее три самых правых байта двоичного "
249 "адреса. Данная форма записи совместима с сетевыми адресами (устаревшими) "
250 "класса A."
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "I<a>"
257 msgstr "I<a>"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "The value I<a> is interpreted as a 32-bit value that is stored directly into "
264 "the binary address without any byte rearrangement."
265 msgstr ""
266 "Значение I<a> расценивается как 32-разрядное значение, которое хранится в "
267 "двоичном формате без какой либо перегруппировки байтов."
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 "In all of the above forms, components of the dotted address can be specified "
274 "in decimal, octal (with a leading I<0>), or hexadecimal, with a leading "
275 "I<0X>). Addresses in any of these forms are collectively termed I<IPV4 "
276 "numbers-and-dots notation>. The form that uses exactly four decimal numbers "
277 "is referred to as I<IPv4 dotted-decimal notation> (or sometimes: I<IPv4 "
278 "dotted-quad notation>)."
279 msgstr ""
280 "Во всех вышеперечисленные формах записи адресов числа могут быть указаны в "
281 "десятичной, восьмеричной (с префиксом I<0>) или шестнадцатеричной (с "
282 "префиксом I<0X>) системе счисления. Адреса, записанные в любой из этих форм, "
283 "называются I<числовой формой записи IPv4 с точками>. Форма записи, в которой "
284 "используются только четыре десятичных числа, называется I<десятично-точечной "
285 "записью IPv4> (I<IPv4 dotted-decimal notation>) или иногда I<IPv4 dotted-"
286 "quad notation>."
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 ""
292 "B<inet_aton>() returns 1 if the supplied string was successfully "
293 "interpreted, or 0 if the string is invalid (B<errno> is I<not> set on error)."
294 msgstr ""
295 "Функция B<inet_aton>() возвращает 1, если переданная строка была обработана "
296 "успешно, или 0, если строка имеет некорректные данные (в B<errno> ошибка "
297 "I<не> записывается)."
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 "The B<inet_addr>() function converts the Internet host address I<cp> from "
304 "IPv4 numbers-and-dots notation into binary data in network byte order. If "
305 "the input is invalid, B<INADDR_NONE> (usually -1) is returned. Use of this "
306 "function is problematic because -1 is a valid address (255.255.255.255). "
307 "Avoid its use in favor of B<inet_aton>(), B<inet_pton>(3), or "
308 "B<getaddrinfo>(3), which provide a cleaner way to indicate error return."
309 msgstr ""
310 "Функция B<inet_addr>() преобразует адрес Интернет-узла I<cp> из числовой "
311 "формы записи IPv4 с точками в двоичную форму с сетевым порядком байт. Если "
312 "адрес, подаваемый на вход, неверный, функция возвращает B<INADDR_NONE> "
313 "(обычно -1). Использование этой функции проблематично, т.к. значение -1 "
314 "эквивалентно корректному адресу (255.255.255.255). Избегайте использования "
315 "этой функции, вместо нее используйте B<inet_aton>(), B<inet_pton>(3) или "
316 "B<getaddrinfo>(3), которые предоставляют более правильный способ указания на "
317 "ошибку."
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 B<inet_network>() function converts I<cp>, a string in IPv4 numbers-and-"
324 "dots notation, into a number in host byte order suitable for use as an "
325 "Internet network address. On success, the converted address is returned. "
326 "If the input is invalid, -1 is returned."
327 msgstr ""
328 "Функция B<inet_network>() преобразует строку I<cp>, записанную в числовой "
329 "форме записи IPv4 с точками, в число (порядок байт узла), пригодное для "
330 "использования в качестве сетевого адреса интернета. В случае успешного "
331 "выполнения возвращается преобразованный адрес. В случае указания "
332 "некорректной строки, возвращается -1."
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "The B<inet_ntoa>() function converts the Internet host address I<in>, given "
339 "in network byte order, to a string in IPv4 dotted-decimal notation. The "
340 "string is returned in a statically allocated buffer, which subsequent calls "
341 "will overwrite."
342 msgstr ""
343 "Функция B<inet_ntoa>() преобразует адрес Интернет-узла I<in>, заданного в "
344 "сетевом порядке байтов, в строку в числовой форме записи IPv4 с точками. "
345 "Строка возвращается в статически выделяемом буфере, который перезаписывается "
346 "при последующих вызовах."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "The B<inet_lnaof>() function returns the local network address part of the "
353 "Internet address I<in>. The returned value is in host byte order."
354 msgstr ""
355 "Функция B<inet_lnaof>() возвращает номер узла из интернет-адреса I<in>. "
356 "Возвращаемое значение имеет порядок байт узла."
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid ""
362 "The B<inet_netof>() function returns the network number part of the "
363 "Internet address I<in>. The returned value is in host byte order."
364 msgstr ""
365 "Функция B<inet_netof>() возвращает номер сети из интернет-адреса I<in>. "
366 "Возвращаемое значение имеет порядок байт узла."
367
368 #. type: Plain text
369 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
370 #: opensuse-tumbleweed
371 #, fuzzy
372 #| msgid ""
373 #| "The B<inet_makeaddr>() function is the converse of B<inet_netof>() and "
374 #| "B<inet_lnaof>(). It returns an Internet host address in network byte "
375 #| "order, created by combining the network number I<net> with the local "
376 #| "address I<host>, both in host byte order."
377 msgid ""
378 "The B<inet_makeaddr>() function is the converse of B<inet_netof>() and "
379 "B<inet_lnaof>(). It returns an Internet host address in network byte order, "
380 "created by combining the network number.I net with the local address "
381 "I<host>, both in host byte order."
382 msgstr ""
383 "Функция B<inet_makeaddr>() противоположна B<inet_netof>() и B<inet_lnaof>(). "
384 "Она возвращает адрес Интернет-узла в сетевом порядке байт, создавая его "
385 "путём объединения номера сети I<net> с номером узла I<host> (оба задаются в "
386 "порядке байт узла)."
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, fuzzy
392 #| msgid ""
393 #| "The structure I<in_addr> as used in B<inet_ntoa>(), B<inet_makeaddr>(), "
394 #| "B<inet_lnaof>() and B<inet_netof>() is defined in I<E<lt>netinet/"
395 #| "in.hE<gt>> as:"
396 msgid ""
397 "The structure I<in_addr> as used in B<inet_ntoa>(), B<inet_makeaddr>(), "
398 "B<inet_lnaof>(), and B<inet_netof>() is defined in I<E<lt>netinet/"
399 "in.hE<gt>> as:"
400 msgstr ""
401 "Структура I<in_addr>, используемая в B<inet_ntoa>(), B<inet_makeaddr>(), "
402 "B<inet_lnaof>() и B<inet_netof>(), определена в I<E<lt>netinet/in.hE<gt>>:"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, fuzzy, no-wrap
408 #| msgid ""
409 #| "struct in_addr {\n"
410 #| " in_addr_t s_addr;\n"
411 #| "};\n"
412 msgid ""
413 "typedef uint32_t in_addr_t;\n"
414 "\\&\n"
415 "struct in_addr {\n"
416 " in_addr_t s_addr;\n"
417 "};\n"
418 msgstr ""
419 "struct in_addr {\n"
420 " in_addr_t s_addr;\n"
421 "};\n"
422
423 #. type: SH
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "ATTRIBUTES"
428 msgstr "АТРИБУТЫ"
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid ""
434 "For an explanation of the terms used in this section, see B<attributes>(7)."
435 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
436
437 #. type: tbl table
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "Interface"
442 msgstr "Интерфейс"
443
444 #. type: tbl table
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Attribute"
449 msgstr "Атрибут"
450
451 #. type: tbl table
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "Value"
456 msgstr "Значение"
457
458 #. type: tbl table
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid ".na\n"
463 msgstr ".na\n"
464
465 #. type: tbl table
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid ".nh\n"
470 msgstr ".nh\n"
471
472 #. type: tbl table
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, fuzzy, no-wrap
476 #| msgid ""
477 #| "B<inet_network>(),\n"
478 #| "B<inet_ntoa>()"
479 msgid ""
480 "B<inet_aton>(),\n"
481 "B<inet_addr>(),\n"
482 "B<inet_network>(),\n"
483 "B<inet_ntoa>()"
484 msgstr ""
485 "B<inet_network>(),\n"
486 "B<inet_ntoa>()"
487
488 #. type: tbl table
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "Thread safety"
493 msgstr "Безвредность в нитях"
494
495 #. type: tbl table
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "MT-Safe locale"
500 msgstr "MT-Safe locale"
501
502 #. type: tbl table
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, fuzzy, no-wrap
506 #| msgid ""
507 #| "B<inet_makeaddr>(),\n"
508 #| "B<inet_lnaof>(),\n"
509 msgid ""
510 "B<inet_makeaddr>(),\n"
511 "B<inet_lnaof>(),\n"
512 "B<inet_netof>()"
513 msgstr ""
514 "B<inet_makeaddr>(),\n"
515 "B<inet_lnaof>(),\n"
516
517 #. type: tbl table
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "MT-Safe"
522 msgstr "MT-Safe"
523
524 #. type: SH
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "STANDARDS"
529 msgstr "СТАНДАРТЫ"
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, fuzzy, no-wrap
535 #| msgid "B<inet_netof>()"
536 msgid "B<inet_addr>()"
537 msgstr "B<inet_netof>()"
538
539 #. type: TQ
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, fuzzy, no-wrap
543 #| msgid "B<inet_netof>()"
544 msgid "B<inet_ntoa>()"
545 msgstr "B<inet_netof>()"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid "POSIX.1-2008."
551 msgstr "POSIX.1-2008."
552
553 #. type: TP
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 #, fuzzy, no-wrap
557 #| msgid "B<inet_netof>()"
558 msgid "B<inet_aton>()"
559 msgstr "B<inet_netof>()"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid "None."
565 msgstr "Отсутствуют."
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid "POSIX.1-2001, 4.3BSD."
571 msgstr "POSIX.1-2001, 4.3BSD."
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "B<inet_lnaof>(), B<inet_netof>(), and B<inet_makeaddr>() are legacy "
578 "functions that assume they are dealing with I<classful network addresses>. "
579 "Classful networking divides IPv4 network addresses into host and network "
580 "components at byte boundaries, as follows:"
581 msgstr ""
582 "B<inet_lnaof>(), B<inet_netof>() и B<inet_makeaddr>() является устаревшими "
583 "функциями, которые предполагают, что используется I<классовая сетевая "
584 "адресация>. При классовой адресации сетевой адрес IPv4 разделяется на "
585 "узловой и сетевой компоненты по байтовой границе следующим образом:"
586
587 #. type: TP
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 #, no-wrap
591 msgid "Class A"
592 msgstr "Класс A"
593
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "This address type is indicated by the value 0 in the most significant bit of "
599 "the (network byte ordered) address. The network address is contained in the "
600 "most significant byte, and the host address occupies the remaining three "
601 "bytes."
602 msgstr ""
603 "На данный тип адреса указывает 0 на месте старшего бита (сетевой порядок "
604 "байтов) адреса. Сетевой адрес содержится в самом старшем байте, а адреса "
605 "узлов занимают оставшиеся три байта."
606
607 #. type: TP
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "Class B"
612 msgstr "Класс B"
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid ""
618 "This address type is indicated by the binary value 10 in the most "
619 "significant two bits of the address. The network address is contained in "
620 "the two most significant bytes, and the host address occupies the remaining "
621 "two bytes."
622 msgstr ""
623 "На данный тип адреса указывает двоичное значение 10 на месте двух самых "
624 "старших битов (сетевой порядок байтов) адреса. Сетевой адрес содержится в "
625 "двух старших байтах, а адреса узлов занимают оставшиеся два байта."
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "Class C"
632 msgstr "Класс C"
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "This address type is indicated by the binary value 110 in the most "
639 "significant three bits of the address. The network address is contained in "
640 "the three most significant bytes, and the host address occupies the "
641 "remaining byte."
642 msgstr ""
643 "На данный тип адреса указывает двоичное значение 110 на месте самых трех "
644 "старших битов (сетевой порядок байтов) адреса. Сетевой адрес содержится в "
645 "первых трёх старших байтах, а адреса узлов занимают оставшийся байт."
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid ""
651 "Classful network addresses are now obsolete, having been superseded by "
652 "Classless Inter-Domain Routing (CIDR), which divides addresses into network "
653 "and host components at arbitrary bit (rather than byte) boundaries."
654 msgstr ""
655 "Классовая адресация в настоящее время устарела и была заменена на "
656 "бесклассовую адресацию (CIDR), при которой компоненты сети и узла в адресе "
657 "могут занимать произвольное число битов (а не байтов)."
658
659 #. type: SH
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "NOTES"
664 msgstr "ПРИМЕЧАНИЯ"
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid ""
670 "On x86 architectures, the host byte order is Least Significant Byte first "
671 "(little endian), whereas the network byte order, as used on the Internet, is "
672 "Most Significant Byte first (big endian)."
673 msgstr ""
674 "В архитектурах x86 порядок байтов узла таков, что младший байт является "
675 "первым (little endian = от младшего к старшему), а в сетевом порядке байт, "
676 "который используется в интернет, старший байт является первым (big endian = "
677 "от старшего к младшему)."
678
679 #. type: SH
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "EXAMPLES"
684 msgstr "ПРИМЕРЫ"
685
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "An example of the use of B<inet_aton>() and B<inet_ntoa>() is shown "
691 "below. Here are some example runs:"
692 msgstr ""
693 "Ниже приведён код примера использования B<inet_aton>() и B<inet_ntoa>(). "
694 "Рассмотрим результат работы примера:"
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid ""
701 "$B< ./a.out 226.000.000.037> # Last byte is in octal\n"
702 "226.0.0.31\n"
703 "$B< ./a.out 0x7f.1 > # First byte is in hex\n"
704 "127.0.0.1\n"
705 msgstr ""
706 "$B< ./a.out 226.000.000.037> # Последний байт в восьмеричной сс\n"
707 "226.0.0.31\n"
708 "$B< ./a.out 0x7f.1 > # Первый байт в шестнадцатеричной сс\n"
709 "127.0.0.1\n"
710
711 #. type: SS
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "Program source"
716 msgstr "Исходный код программы"
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid ""
723 "#define _DEFAULT_SOURCE\n"
724 "#include E<lt>arpa/inet.hE<gt>\n"
725 "#include E<lt>stdio.hE<gt>\n"
726 "#include E<lt>stdlib.hE<gt>\n"
727 "\\&\n"
728 "int\n"
729 "main(int argc, char *argv[])\n"
730 "{\n"
731 " struct in_addr addr;\n"
732 "\\&\n"
733 " if (argc != 2) {\n"
734 " fprintf(stderr, \"%s E<lt>dotted-addressE<gt>\\[rs]n\", argv[0]);\n"
735 " exit(EXIT_FAILURE);\n"
736 " }\n"
737 "\\&\n"
738 " if (inet_aton(argv[1], &addr) == 0) {\n"
739 " fprintf(stderr, \"Invalid address\\[rs]n\");\n"
740 " exit(EXIT_FAILURE);\n"
741 " }\n"
742 "\\&\n"
743 " printf(\"%s\\[rs]n\", inet_ntoa(addr));\n"
744 " exit(EXIT_SUCCESS);\n"
745 "}\n"
746 msgstr ""
747
748 #. SRC END
749 #. type: SH
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "SEE ALSO"
754 msgstr "СМОТРИТЕ ТАКЖЕ"
755
756 #. type: Plain text
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 msgid ""
760 "B<byteorder>(3), B<getaddrinfo>(3), B<gethostbyname>(3), B<getnameinfo>(3), "
761 "B<getnetent>(3), B<inet_net_pton>(3), B<inet_ntop>(3), B<inet_pton>(3), "
762 "B<hosts>(5), B<networks>(5)"
763 msgstr ""
764 "B<byteorder>(3), B<getaddrinfo>(3), B<gethostbyname>(3), B<getnameinfo>(3), "
765 "B<getnetent>(3), B<inet_net_pton>(3), B<inet_ntop>(3), B<inet_pton>(3), "
766 "B<hosts>(5), B<networks>(5)"
767
768 #. type: TH
769 #: debian-trixie
770 #, no-wrap
771 msgid "2024-06-15"
772 msgstr "15 июня 2024 г."
773
774 #. type: TH
775 #: debian-trixie
776 #, no-wrap
777 msgid "Linux man-pages 6.9.1"
778 msgstr "Страницы руководства Linux 6.9.1"
779
780 #. type: Plain text
781 #: debian-trixie
782 msgid "Standard C library (I<libc>, I<-lc>)"
783 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
784
785 #. type: Plain text
786 #: debian-trixie fedora-44 fedora-rawhide
787 msgid ""
788 "The B<inet_makeaddr>() function is the converse of B<inet_netof>() and "
789 "B<inet_lnaof>(). It returns an Internet host address in network byte order, "
790 "created by combining the network number I<net> with the local address "
791 "I<host>, both in host byte order."
792 msgstr ""
793 "Функция B<inet_makeaddr>() противоположна B<inet_netof>() и B<inet_lnaof>(). "
794 "Она возвращает адрес Интернет-узла в сетевом порядке байт, создавая его "
795 "путём объединения номера сети I<net> с номером узла I<host> (оба задаются в "
796 "порядке байт узла)."
797
798 #. type: TH
799 #: fedora-44 fedora-rawhide
800 #, no-wrap
801 msgid "2024-07-23"
802 msgstr "23 июля 2024 г."
803
804 #. type: TH
805 #: fedora-44 fedora-rawhide
806 #, no-wrap
807 msgid "Linux man-pages 6.13"
808 msgstr "Страницы руководства Linux 6.13"
809
810 #. type: TH
811 #: mageia-cauldron
812 #, no-wrap
813 msgid "Linux man-pages 6.17"
814 msgstr "Страницы руководства Linux 6.17"
815
816 #. type: TH
817 #: opensuse-leap-16-1 opensuse-tumbleweed
818 #, no-wrap
819 msgid "Linux man-pages (unreleased)"
820 msgstr "Страницы руководства Linux (не выпущены)"