# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Alexander Golubev , 2018. # Azamat Hackimov , 2011, 2014-2016. # Hotellook, 2014. # Nikita , 2014. # Spiros Georgaras , 2016. # Vladislav , 2015. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:45+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 #, no-wrap msgid "strcmp" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-03-16" msgstr "16 марта 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 "strcmp, strncmp - compare two strings" msgstr "strcmp, strncmp - сравнивает две строки" #. 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 Estring.hE>\n" msgstr "B<#include Estring.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "BIB<, size_t >IB<);>\n" #| "BIB<);>\n" #| "BIB<, size_t >IB<);>\n" msgid "" "BIB<, const char *>IB<);>\n" "Bs1B<[], const char >s2B<[], size_t >nB<);>\n" msgstr "" "BIB<, size_t >IB<);>\n" "BIB<);>\n" "BIB<, size_t >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: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B(3)" msgid "B()" msgstr "B(3)" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function compares the two strings I and I, as if by " "calling B(3)." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The locale is not taken into account (for a locale-aware comparison, see " "B(3))." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "is equivalent to" msgid "It is equivalent to" msgstr "равнозначно" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "memcmp(s1, s2, MIN(strlen(s1),strlen(s2))+1)\n" msgstr "" #. type: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B(3)" msgid "B()" msgstr "B(3)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function is similar, except it compares only the first (at " "most) I bytes of I and I." msgstr "" "Функция B() работает аналогичным образом, но сравниваются только " "первые (не более) I байт строки I и I." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "memcmp(s1, s2, MIN(MIN(strnlen(s1,n),strnlen(s2,n))+1, n))\n" msgstr "" #. 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 "" "The B() and B() functions return an integer less than, " "equal to, or greater than zero if I (or the first I bytes thereof) is " "found, respectively, to be less than, to match, or be greater than I." msgstr "" "Функции B() и B() возвращают целое число, которое меньше, " "больше нуля или равно ему, если строка I (или её первые I байтов) " "соответственно меньше, больше или равна I." #. 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(),\n" "B()" msgstr "" "B(),\n" "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" msgstr "MT-Safe" #. 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 "POSIX.1 specifies only that:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The sign of a nonzero return value shall be determined by the sign of the " "difference between the values of the first pair of bytes (both interpreted " "as type I) that differ in the strings being compared." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In glibc, as in most other implementations, the return value is the " "arithmetic result of subtracting the last compared byte in I from the " "last compared byte in I. (If the two characters are equal, this " "difference is 0.)" msgstr "" #. 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 "C11, POSIX.1-2008." msgstr "C11, 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, C89, SVr4, 4.3BSD." msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." #. 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 #, fuzzy #| msgid "" #| "The program below can be used to demonstrate the behavior of " #| "B(). It uses B() to compare the two strings " #| "given as its command-line arguments. An example of its use is the " #| "following:" msgid "" "The program below can be used to demonstrate the operation of B() " "(when given two arguments) and B() (when given three arguments). " "First, some examples using B():" msgstr "" "Показанная далее программа демонстрирует поведение B(). Функция " "B() используется для сравнения двух строк, заданных в аргументах " "командной строки. Пример работы:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./string_comp ABC ABC>;\n" "Estr1E and Estr2E are equal\n" "$B< ./string_comp ABC AB>; # \\[aq]C\\[aq] is ASCII 67; \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E is greater than Estr2E (67)\n" "$B< ./string_comp ABA ABZ>; # \\[aq]A\\[aq] is ASCII 65; \\[aq]Z\\[aq] is ASCII 90\n" "Estr1E is less than Estr2E (-25)\n" "$B< ./string_comp ABJ ABC>;\n" "Estr1E is greater than Estr2E (7)\n" "$B< ./string_comp $\\[aq]\\[rs]201\\[aq] A>; # 0201 - 0101 = 0100 (or 64 decimal)\n" "Estr1E is greater than Estr2E (64)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The last example uses B(1)-specific syntax to produce a string " "containing an 8-bit ASCII code; the result demonstrates that the string " "comparison uses unsigned characters." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "And then some examples using B():" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./string_comp ABC AB 3>;\n" "Estr1E is greater than Estr2E (67)\n" "$B< ./string_comp ABC AB 2>;\n" "Estr1E and Estr2E are equal in the first 2 bytes\n" msgstr "" #. 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 fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "/* string_comp.c\n" "\\&\n" " Licensed under GNU General Public License v2 or later.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"Usage: %s Estr1E Estr2E [EnE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E and Estr2E are equal\");\n" " if (argc E 3)\n" " printf(\" in the first %d bytes\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E is less than Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E is greater than Estr2E (%d)\\[rs]n\", res);\n" " }\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-unstable opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "B(3), B(3), B(3), B(3), B(3), " #| "B(3), B(3), B(3), B(3)" msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(7)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), 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 #, fuzzy, no-wrap #| msgid "" #| "BIB<, size_t >IB<);>\n" #| "BIB<);>\n" #| "BIB<, size_t >IB<);>\n" msgid "" "BIB<, const char *>IB<);>\n" "BIB<[.>IB<], const char >IB<[.>IB<], size_t >IB<);>\n" msgstr "" "BIB<, size_t >IB<);>\n" "BIB<);>\n" "BIB<, size_t >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, fuzzy #| msgid "" #| "The B() function compares the two strings I and I. The " #| "locale is not taken into account (for a locale-aware comparison, see " #| "B(3)). It returns an integer less than, equal to, or greater " #| "than zero if I is found, respectively, to be less than, to match, or " #| "be greater than I." msgid "" "The B() function compares the two strings I and I. The " "locale is not taken into account (for a locale-aware comparison, see " "B(3)). The comparison is done using unsigned characters." msgstr "" "Функция B() сравнивает строки I и I. При этом локаль не " "учитывается (для её учёта используйте функцию B(3)). Она возвращает " "целое число, которое меньше, больше нуля или равно ему, если выяснится, что " "I меньше, равна или больше I соответственно." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "B() returns an integer indicating the result of the comparison, as " "follows:" msgstr "" #. type: IP #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "0, if the I and I are equal;" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "a negative value if I is less than I;" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "a positive value if I is greater than I." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./string_comp ABC ABC>\n" "Estr1E and Estr2E are equal\n" "$ B<./string_comp ABC AB> # \\[aq]C\\[aq] is ASCII 67; \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E is greater than Estr2E (67)\n" "$ B<./string_comp ABA ABZ> # \\[aq]A\\[aq] is ASCII 65; \\[aq]Z\\[aq] is ASCII 90\n" "Estr1E is less than Estr2E (-25)\n" "$ B<./string_comp ABJ ABC>\n" "Estr1E is greater than Estr2E (7)\n" "$ .B # 0201 - 0101 = 0100 (or 64 decimal)\n" "Estr1E is greater than Estr2E (64)\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./string_comp ABC AB 3>\n" "Estr1E is greater than Estr2E (67)\n" "$ B<./string_comp ABC AB 2>\n" "Estr1E and Estr2E are equal in the first 2 bytes\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "/* string_comp.c\n" "\\&\n" " Licensed under GNU General Public License v2 or later.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"Usage: %s Estr1E Estr2E [ElenE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E and Estr2E are equal\");\n" " if (argc E 3)\n" " printf(\" in the first %d bytes\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E is less than Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E is greater than Estr2E (%d)\\[rs]n\", res);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, fuzzy #| msgid "" #| "B(3), B(3), B(3), B(3), B(3), " #| "B(3), B(3), B(3), B(3)" msgid "" "B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(7)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 ноября 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 (не выпущены)"