diff options
Diffstat (limited to 'po/ru/man3/mbrtowc.3.po')
-rw-r--r-- | po/ru/man3/mbrtowc.3.po | 424 |
1 files changed, 424 insertions, 0 deletions
diff --git a/po/ru/man3/mbrtowc.3.po b/po/ru/man3/mbrtowc.3.po new file mode 100644 index 00000000..965a3f95 --- /dev/null +++ b/po/ru/man3/mbrtowc.3.po @@ -0,0 +1,424 @@ +# Russian translation of manpages +# This file is distributed under the same license as the manpages-l10n package. +# Copyright © of this file: +# aereiae <aereiae@gmail.com>, 2014. +# Alexey <a.chepugov@gmail.com>, 2015. +# Azamat Hackimov <azamat.hackimov@gmail.com>, 2013-2017. +# Dmitriy S. Seregin <dseregin@59.ru>, 2013. +# Dmitry Bolkhovskikh <d20052005@yandex.ru>, 2017. +# ITriskTI <ITriskTI@gmail.com>, 2013. +# Max Is <ismax799@gmail.com>, 2016. +# Yuri Kozlov <yuray@komyakino.ru>, 2011-2019. +# Иван Павлов <pavia00@gmail.com>, 2017. +# Малянов Евгений Викторович <maljanow@outlook.com>, 2014. +msgid "" +msgstr "" +"Project-Id-Version: manpages-l10n\n" +"POT-Creation-Date: 2024-03-01 17:01+0100\n" +"PO-Revision-Date: 2019-10-06 08:59+0300\n" +"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n" +"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\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-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<mbrtowc>()" +msgid "mbrtowc" +msgstr "B<mbrtowc>()" + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "31 октября 2023 г." + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "Linux man-pages 6.06" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "NAME" +msgstr "ИМЯ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "mbrtowc - convert a multibyte sequence to a wide character" +msgstr "" +"mbrtowc - преобразовывает мультибайтовую последовательность в широкий символ" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "LIBRARY" +msgstr "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Standard C library (I<libc>, I<-lc>)" +msgstr "" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "SYNOPSIS" +msgstr "СИНТАКСИС" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<#include E<lt>wchar.hE<gt>>\n" +msgstr "B<#include E<lt>wchar.hE<gt>>\n" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n" +msgid "" +"B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n" +"B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n" +msgstr "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "DESCRIPTION" +msgstr "ОПИСАНИЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "The main case for this function is when I<s> is not NULL and I<pwc> is " +#| "not NULL. In this case, the B<mbrtowc>() function inspects at most I<n> " +#| "bytes of the multibyte string starting at I<s>, extracts the next " +#| "complete multibyte character, converts it to a wide character and stores " +#| "it at I<*pwc>. It updates the shift state I<*ps>. If the converted wide " +#| "character is not L\\(aq\\e0\\(aq (the null wide character), it returns " +#| "the number of bytes that were consumed from I<s>. If the converted wide " +#| "character is L\\(aq\\e0\\(aq, it resets the shift state I<*ps> to the " +#| "initial state and returns 0." +msgid "" +"The main case for this function is when I<s> is not NULL and I<pwc> is not " +"NULL. In this case, the B<mbrtowc>() function inspects at most I<n> bytes " +"of the multibyte string starting at I<s>, extracts the next complete " +"multibyte character, converts it to a wide character and stores it at " +"I<*pwc>. It updates the shift state I<*ps>. If the converted wide " +"character is not L\\[aq]\\e0\\[aq] (the null wide character), it returns the " +"number of bytes that were consumed from I<s>. If the converted wide " +"character is L\\[aq]\\e0\\[aq], it resets the shift state I<*ps> to the " +"initial state and returns 0." +msgstr "" +"В основном, функция предназначена для работы, когда I<s> и I<pwc> не равны " +"NULL. В этом случае функция B<mbrtowc>() просматривает не более I<n> байт " +"многобайтовой строки, начинающейся с I<s>, извлекает следующий полный " +"многобайтовый символ, преобразует его в широкий символ и сохраняет его в " +"I<*pwc>. При этом обновляется состояние сдвига I<*ps>. Если преобразованный " +"широкий символ не равен L\\(aq\\e0\\(aq (широкий символ null), то " +"возвращается количество байт, которое было выбрано из I<s>. Если " +"преобразованный широкий символ равен L\\(aq\\e0\\(aq, то состояние сдвига " +"I<*ps> сбрасывается в начальное состояние и возвращается 0." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"If the I<n> bytes starting at I<s> do not contain a complete multibyte " +"character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if " +"I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift " +"sequences." +msgstr "" +"Если в I<n> байтах, начиная с I<s>, не содержится полного многобайтового " +"символа, то B<mbrtowc>() возвращает I<(size_t)\\ -2>. Это может произойти " +"даже, если I<n> E<gt>= I<MB_CUR_MAX>, если в многобайтовой строке содержится " +"лишние сдвиговые последовательности." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"If the multibyte string starting at I<s> contains an invalid multibyte " +"sequence before the next complete character, B<mbrtowc>() returns " +"I<(size_t)\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects " +"on I<*ps> are undefined." +msgstr "" +"Если многобайтовая строка, начинающаяся с I<s>, содержит некорректную " +"многобайтовую последовательность до следующего полного символа, то " +"B<mbrtowc>() возвращает I<(size_t)\\ -1> и присваивает I<errno> значение " +"B<EILSEQ>. В этом случае влияние на I<*ps> не определено." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, " +"the B<mbrtowc>() function behaves as above, except that it does not store " +"the converted wide character in memory." +msgstr "" +"Ещё случай, когда I<s> не равно NULL, а I<pwc> равно NULL. В этом случае " +"функция B<mbrtowc>() действует как описано выше, но не сохраняет " +"преобразованный широкий символ в памяти." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are " +"ignored. If the conversion state represented by I<*ps> denotes an " +"incomplete multibyte character conversion, the B<mbrtowc>() function " +"returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in " +"an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in " +"the initial state and returns 0." +msgstr "" +"И третий случай, когда I<s> равно NULL. В этом случае I<pwc> и I<n> " +"игнорируются. Если состояние преобразования, представляемое I<*ps> означает " +"неполный многобайтовый символ, то функция B<mbrtowc>() возвращает " +"I<(size_t)\\ -1>, присваивает I<errno> значение B<EILSEQ> и оставляет I<*ps> " +"в неопределённом состоянии. Иначе функция B<mbrtowc>() изменяет I<*ps> в " +"начальное состояние и возвращает 0." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"In all of the above cases, if I<ps> is NULL, a static anonymous state known " +"only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must " +"be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be " +"initialized to the initial state by zeroing it, for example using" +msgstr "" +"Во всех вышеперечисленных случаях, если I<ps> равно NULL, то используется " +"статическое анонимное состояние, известное только функции B<mbrtowc>(). " +"Иначе I<*ps> должен быть корректным объектом I<mbstate_t>. Объект " +"I<mbstate_t> I<a> может быть переведён в начальное состояние, если его " +"обнулить, например с помощью" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "memset(&a, 0, sizeof(a));\n" +msgstr "memset(&a, 0, sizeof(a));\n" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "RETURN VALUE" +msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "The B<mbrtowc>() function returns the number of bytes parsed from the " +#| "multibyte sequence starting at I<s>, if a non-L\\(aq\\e0\\(aq wide " +#| "character was recognized. It returns 0, if a L\\(aq\\e0\\(aq wide " +#| "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> " +#| "to B<EILSEQ>, if an invalid multibyte sequence was encountered. It " +#| "returns I<(size_t)\\ -2> if it couldn't parse a complete multibyte " +#| "character, meaning that I<n> should be increased." +msgid "" +"The B<mbrtowc>() function returns the number of bytes parsed from the " +"multibyte sequence starting at I<s>, if a non-L\\[aq]\\e0\\[aq] wide " +"character was recognized. It returns 0, if a L\\[aq]\\e0\\[aq] wide " +"character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to " +"B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns " +"I<(size_t)\\ -2> if it couldn't parse a complete multibyte character, " +"meaning that I<n> should be increased." +msgstr "" +"Функция B<mbrtowc>() возвращает количество байт, просмотренных в " +"многобайтовой последовательности, начинающейся с I<s>, если при этом был " +"получен широкий символ не равный L\\(aq\\e0\\(aq. Она возвращает 0, если был " +"получен широкий символ L\\(aq\\e0\\(aq. Она возвращает I<(size_t)\\ -1> и " +"присваивает I<errno> значение B<EILSEQ>, если встречена некорректная " +"многобайтовая последовательность. Она возвращает I<(size_t)\\ -2>, если не " +"удалось найти полную многобайтовую последовательность, что означает, что " +"I<n> должно быть увеличено." + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "ATTRIBUTES" +msgstr "АТРИБУТЫ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"For an explanation of the terms used in this section, see B<attributes>(7)." +msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Interface" +msgstr "Интерфейс" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Attribute" +msgstr "Атрибут" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Value" +msgstr "Значение" + +#. type: tbl table +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +msgid ".na\n" +msgstr ".na\n" + +#. type: tbl table +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +msgid ".nh\n" +msgstr ".nh\n" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<mbrtowc>()" +msgstr "B<mbrtowc>()" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Thread safety" +msgstr "Безвредность в нитях" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "MT-Unsafe race:mbrtowc/!ps" +msgstr "MT-Unsafe race:mbrtowc/!ps" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "STANDARDS" +msgstr "СТАНДАРТЫ" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +msgid "C11, POSIX.1-2008." +msgstr "C11, POSIX.1-2008." + +#. type: SH +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "HISTORY" +msgstr "ИСТОРИЯ" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +msgid "POSIX.1-2001, C99." +msgstr "POSIX.1-2001, C99." + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "NOTES" +msgstr "ЗАМЕЧАНИЯ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the " +"current locale." +msgstr "" +"Поведение B<mbrtowc>() зависит от категории B<LC_CTYPE> текущей локали." + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "SEE ALSO" +msgstr "СМ. ТАКЖЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "B<mbsinit>(3), B<mbsrtowcs>(3)" +msgstr "B<mbsinit>(3), B<mbsrtowcs>(3)" + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "2023-02-05" +msgstr "5 февраля 2023 г." + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "Linux man-pages 6.03" +msgstr "Linux man-pages 6.03" + +#. type: Plain text +#: debian-bookworm +msgid "POSIX.1-2001, POSIX.1-2008, C99." +msgstr "POSIX.1-2001, POSIX.1-2008, C99." + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "2023-07-20" +msgstr "20 июля 2023 г." + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages 6.05.01" +msgstr "Linux man-pages 6.05.01" + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "2023-03-30" +msgstr "30 марта 2023 г." + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "Linux man-pages 6.04" +msgstr "Linux man-pages 6.04" |