# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Azamat Hackimov , 2013-2014, 2017. # Dmitriy S. Seregin , 2013. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017, 2019. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:27+0200\n" "PO-Revision-Date: 2024-12-21 19:50+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B()" msgid "inet_pton" msgstr "B()" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-02-22" msgstr "22 февраля 2026 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Справочные страницы Linux 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "НАИМЕНОВАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "inet_pton - convert IPv4 and IPv6 addresses from text to binary form" msgstr "" "inet_pton - преобразует адреса IPv4 и IPv6 из текстового вида в двоичный " "формат" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "БИБЛИОТЕКА" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Стандартная библиотека языка C (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Earpa/inet.hE>\n" msgstr "B<#include Earpa/inet.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<, const char *>IB<, void *>IB<);>\n" msgid "BIB<, const char *restrict >IB<, void *restrict >IB<);>\n" msgstr "BIB<, const char *>IB<, void *>IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This function converts the character string I into a network address " "structure in the I address family, then copies the network address " "structure to I. The I argument must be either B or " "B. I is written in network byte order." msgstr "" "Данная функция преобразует строку символов I в структуру сетевого " "адреса сетевого семейства адресов I, а затем копирует полученную " "структуру по адресу I. Значение аргумента I должно быть равно " "B или B. Значение I записывается в сетевом порядке " "байт." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following address families are currently supported:" msgstr "В настоящее время поддерживаются следующие семейства адресов:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "I points to a character string containing an IPv4 network address in " #| "dotted-decimal format, \"I\", where I is a decimal " #| "number of up to three digits in the range 0 to 255. The address is " #| "converted to a I and copied to I, which must be " #| "I (4) bytes (32 bits) long." msgid "" "I points to a character string containing an IPv4 network address in " "dotted-decimal format, \\[dq]I\\[dq], where I is a " "decimal number of up to three digits in the range 0 to 255. The address is " "converted to a I and copied to I, which must be " "I (4) bytes (32 bits) long." msgstr "" "Значение I указывает на строку символов, содержащую сетевой адрес IPv4 " "в точечном формате «I», где I — десятичное число в " "диапазоне от 0 до 255, состоящее максимум из трёх цифр. Адрес преобразуется " "в I и копируется в I, размер которой должен быть равен " "I (4) байтам (32 бита)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I points to a character string containing an IPv6 network address. The " "address is converted to a I and copied to I, which " "must be I (16) bytes (128 bits) long. The allowed " "formats for IPv6 addresses follow these rules:" msgstr "" "Значение I указывает на строку символов, содержащую сетевой адрес IPv6. " "Адрес преобразуется в I и копируется в I, размер " "которой должен быть равен I (16) байтам (128 бит). " "Допустимые форматы адресов IPv6:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The preferred format is I. This form consists of eight " "hexadecimal numbers, each of which expresses a 16-bit value (i.e., each I " "can be up to 4 hex digits)." msgstr "" "Предпочтительный формат — I. Он состоит из восьми " "шестнадцатеричных чисел, каждое из которых представляет 16-битное значение " "(т. е., каждый I может содержать до 4 шестнадцатеричных цифр)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A series of contiguous zero values in the preferred format can be " "abbreviated to I<::>. Only one instance of I<::> can occur in an address. " "For example, the loopback address I<0:0:0:0:0:0:0:1> can be abbreviated as " "I<::1>. The wildcard address, consisting of all zeros, can be written as " "I<::>." msgstr "" "Серия непрерывных нулевых значений в предпочтительном формате может " "сокращённо записываться как I<::>. В адресе допускается только одно " "появление I<::>. Например, адрес интерфейса обратной петли " "I<0:0:0:0:0:0:0:1> может быть сокращён до I<::1>. Шаблонный адрес, состоящий " "из всех нулей, может быть записан как I<::>." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An alternate format is useful for expressing IPv4-mapped IPv6 addresses. " "This form is written as I, where the six leading Is " "are hexadecimal values that define the six most-significant 16-bit pieces of " "the address (i.e., 96 bits), and the Is express a value in dotted-decimal " "notation that defines the least significant 32 bits of the address. An " "example of such an address is I<::FFFF:204.152.189.116>." msgstr "" "Альтернативный формат — полезен для записи IPv4-отображённых адресов IPv6. " "Этот формат имеет вид I, где шесть начальных I " "представляют собой шестнадцатеричные значения, которые определяют шесть " "наиболее значимых 16-битных частей адреса (т. е., 96 бит), а символами I " "выражается значение в точечно-десятичном формате, которое определяет " "наименее значимые 32 бита адреса. Пример адреса: I<::FFFF:204.152.189.116>." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See RFC 2373 for further details on the representation of IPv6 addresses." msgstr "" "Дополнительную информацию о представлении адресов IPv6 смотрите в RFC 2373." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() returns 1 on success (network address was successfully " "converted). 0 is returned if I does not contain a character string " "representing a valid network address in the specified address family. If " "I does not contain a valid address family, -1 is returned and I " "is set to B." msgstr "" "При успешном выполнении функция B() возвращает 1 (адрес " "преобразован). Функция возвращает 0, если I не содержит строку " "символов, представляющую правильный сетевой адрес для указанного семейства " "адресов. Если I не содержит допустимого значения семейства адресов, то " "возвращается -1 и I присваивается значение B." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "АТРИБУТЫ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "Описание терминов данного раздела смотрите в B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Интерфейс" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Атрибут" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Значение" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Безвредность в нитях" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe locale" msgstr "MT-Safe locale" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "ВЕРСИИ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unlike B(3) and B(3), B() supports IPv6 " "addresses. On the other hand, B() accepts only IPv4 addresses " "in dotted-decimal notation, whereas B(3) and B(3) " "allow the more general numbers-and-dots notation (hexadecimal and octal " "number formats, and formats that don't require all four bytes to be " "explicitly written). For an interface that handles both IPv6 addresses, and " "IPv4 addresses in numbers-and-dots notation, see B(3)." msgstr "" "В отличие от B(3) и B(3), B() поддерживает " "адреса IPv6. Но стоит отметить, что B() работает только с " "адресами IPv4 в точечно-десятичном формате, в то время как B(3) и " "B(3) поддерживают более распространённый формат чисел-с-точками " "(numbers-and-dots notation) (шестнадцатеричный и восьмеричный формат чисел, " "и форматы, которые не требуют явного указания всех четырёх байт). " "Программный интерфейс, который понимает одновременно адреса и IPv6, и IPv4 в " "формате чисел-с-точками, смотрите B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "СТАНДАРТЫ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "ИСТОРИЯ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "ПРОГРАММНЫЕ ОШИБКИ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B does not recognize IPv4 addresses. An explicit IPv4-mapped IPv6 " "address must be supplied in I instead." msgstr "" "При B не распознаются адреса IPv4. В этом случае в I должен " "указываться IPv4-отображённый адрес IPv6." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below demonstrates the use of B() and " "B(3). Here are some example runs:" msgstr "" "Представленная ниже программа показывает использование B() и " "B(3). Пример работы программы:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out i6 0:0:0:0:0:0:0:0>\n" "::\n" "$B< ./a.out i6 1:0:0:0:0:0:0:8>\n" "1::8\n" "$B< ./a.out i6 0:0:0:0:0:FFFF:204.152.189.116>\n" "::ffff:204.152.189.116\n" msgstr "" "$B< ./a.out i6 0:0:0:0:0:0:0:0>\n" "::\n" "$B< ./a.out i6 1:0:0:0:0:0:0:8>\n" "1::8\n" "$B< ./a.out i6 0:0:0:0:0:FFFF:204.152.189.116>\n" "::ffff:204.152.189.116\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "Исходный код программы" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Earpa/inet.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "#define streq(...) (strcmp(__VA_ARGS__) == 0)\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " unsigned char buf[sizeof(struct in6_addr)];\n" " int domain, s;\n" " char str[INET6_ADDRSTRLEN];\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s {i4|i6|EnumE} string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " domain = streq(argv[1], \"i4\") ? AF_INET :\n" " streq(argv[1], \"i6\") ? AF_INET6 : atoi(argv[1]);\n" "\\&\n" " s = inet_pton(domain, argv[2], buf);\n" " if (s E= 0) {\n" " if (s == 0)\n" " fprintf(stderr, \"Not in presentation format\");\n" " else\n" " perror(\"inet_pton\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (inet_ntop(domain, buf, str, INET6_ADDRSTRLEN) == NULL) {\n" " perror(\"inet_ntop\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " printf(\"%s\\[rs]n\", str);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМОТРИТЕ ТАКЖЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(3), B(3), B(3)" msgstr "B(3), B(3), B(3)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 июня 2024 г." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Страницы руководства Linux 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Стандартная библиотека языка C (I, I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I points to a character string containing an IPv4 network address in " "dotted-decimal format, \"I\", where I is a decimal " "number of up to three digits in the range 0 to 255. The address is " "converted to a I and copied to I, which must be " "I (4) bytes (32 bits) long." msgstr "" "Значение I указывает на строку символов, содержащую сетевой адрес IPv4 " "в точечном формате «I», где I — десятичное число в " "диапазоне от 0 до 255, состоящее максимум из трёх цифр. Адрес преобразуется " "в I и копируется в I, размер которой должен быть равен " "I (4) байтам (32 бита)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "#include Earpa/inet.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " unsigned char buf[sizeof(struct in6_addr)];\n" " int domain, s;\n" " char str[INET6_ADDRSTRLEN];\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s {i4|i6|EnumE} string\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " domain = (strcmp(argv[1], \"i4\") == 0) ? AF_INET :\n" " (strcmp(argv[1], \"i6\") == 0) ? AF_INET6 : atoi(argv[1]);\n" "\\&\n" " s = inet_pton(domain, argv[2], buf);\n" " if (s E= 0) {\n" " if (s == 0)\n" " fprintf(stderr, \"Not in presentation format\");\n" " else\n" " perror(\"inet_pton\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (inet_ntop(domain, buf, str, INET6_ADDRSTRLEN) == NULL) {\n" " perror(\"inet_ntop\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " printf(\"%s\\[rs]n\", str);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 июля 2024 г." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Страницы руководства Linux 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "2026-02-08" msgstr "8 февраля 2026 г." #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Страницы руководства Linux 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Страницы руководства Linux (не выпущены)"