# 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. # Dmitry Bolkhovskikh , 2017. # Vladislav , 2015. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017, 2019. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 05:53+0200\n" "PO-Revision-Date: 2019-10-05 08:06+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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B()" msgid "getutent" msgstr "B()" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "2 мая 2024 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages 6.8" msgstr "Linux man-pages 6.7" #. 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 "" "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " "access utmp file entries" msgstr "" "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " "доступ к записям файла utmp" #. 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, 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 Eutmp.hE>\n" msgstr "B<#include Eutmp.hE>\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\n" #| "B\n" #| "B\n" #| "B\n" #| "B\n" #| "B\n" msgid "" "B\n" "BIB<);>\n" "BIB<);>\n" msgstr "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\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 "BIB<);>" msgid "BIB<);>\n" msgstr "BIB<);>" #. 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\n" msgid "" "B\n" "B\n" msgstr "B\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 "BIB<);>" msgid "BIB<);>\n" msgstr "BIB<);>" #. 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 "" #| "New applications should use the POSIX.1-specified \"utmpx\" versions of " #| "these functions; see CONFORMING TO." msgid "" "New applications should use the POSIX.1-specified \"utmpx\" versions of " "these functions; see STANDARDS." msgstr "" "В новых приложениях нужно использовать определённые в POSIX.1 «utmpx» версии " "этих функций; смотрите СООТВЕТСТВИЕ СТАНДАРТАМ." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() sets the name of the utmp-format file for the other utmp " "functions to access. If B() is not used to set the filename " "before the other functions are used, they assume B<_PATH_UTMP>, as defined " "in Ipaths.hE>." msgstr "" "Функция B() задаёт имя файла в формате utmp для других функций " "utmp. Если B() не используется для указания имени файла перед " "работой с другими функциями, то они будут использовать имя из B<_PATH_UTMP>, " "определённое в Ipaths.hE>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() rewinds the file pointer to the beginning of the utmp file. " "It is generally a good idea to call it before any of the other functions." msgstr "" "Функция B() переносит указатель начало файла utmp. Вообще, " "оптимальным вариантом считается вызывать эту функцию перед вызовом остальных." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() closes the utmp file. It should be called when the user code " "is done accessing the file with the other functions." msgstr "" "Функция B() закрывает файл utmp. Она должна быть вызвана, когда " "будет завершена работа с файлом посредством других функций." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() reads a line from the current file position in the utmp " "file. It returns a pointer to a structure containing the fields of the " "line. The definition of this structure is shown in B(5)." msgstr "" "Функция B() считывает строку, начиная с текущей позиции файла в " "файле utmp. Она возвращает указатель на структуру, содержащую поля этой " "строки. Определение структуры приведено в B(5)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() searches forward from the current file position in the utmp " "file based upon I. If Iut_type> is one of B, " "B, B, or B, B() will find the first " "entry whose I field matches Iut_type>. If Iut_type> is one of B, B, B, " "or B, B() will find the first entry whose I " "field matches Iut_id>." msgstr "" "Функция B() производит прямой поиск, начиная с текущей позиции " "файла в файле utmp, основываясь на данных I. Если значение Iut_type> равно B, B, B или B, " "то B() найдёт первую запись, поле I которой совпадает с " "Iut_type>. Если Iut_type> равно B, " "B, B или B, то B() " "найдёт первую запись, поле I которой совпадает с Iut_id>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() searches forward from the current file position in the utmp " "file. It scans entries whose I is B or " "B and returns the first one whose I field matches " "Iut_line>." msgstr "" "Функция B() производит прямой поиск, начиная с текущей позиции " "файла в файле utmp. Она просматривает записи, у которых поле I " "совпадает с B или B, и возвращает первую " "запись, поле I которой совпадает с Iut_line>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() writes the I structure I into the utmp file. It " "uses B() to search for the proper place in the file to insert the " "new entry. If it cannot find an appropriate slot for I, B() " "will append the new entry to the end of the file." msgstr "" "Функция B() записывает структуру I I в файл utmp. Для " "поиска места в файле, необходимого для вставки новой записи, используется " "B() . Если такое место не найдено, то B() добавит запись " "в конец файла." #. 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 msgid "" "B(), B(), and B() return a pointer to a " "I on success, and NULL on failure (which includes the \"record " "not found\" case). This I is allocated in static storage, and " "may be overwritten by subsequent calls." msgstr "" "При успешном выполнении функции B(), B() и B() " "возвращают указатель на I и NULL при ошибке (к ним относится и " "случай «запись не найдена»). Структура I располагается в " "статическом хранилище и может быть изменена последующими вызовами." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "On success B() returns I; on failure, it returns NULL." msgstr "" "При успешном выполнении B() возвращает I; при ошибке " "возвращается NULL." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() returns 0 if the new name was successfully stored, or -1 on " "failure." msgstr "" "При успешном назначении нового имени функция B() возвращает 0 и -1 " "при ошибке." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "In the event of an error, these functions I set to indicate the " #| "cause." msgid "On failure, these functions I set to indicate the error." msgstr "" "В случае ошибки эти функции изменяют значение I соответствующим " "образом." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "ОШИБКИ" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Out of memory." msgstr "Не хватает памяти." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Record not found." msgstr "Запись не найдена." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B(), B(), and the B() functions can also fail " "for the reasons described in B(2)." msgstr "" "Функции B(), B() и B() также могут завершиться " "с ошибкой по причинам, описанным в B(2)." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "FILES" msgstr "ФАЙЛЫ" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "database of currently logged-in users" msgstr "база данных пользователей, находящихся в системе в данный момент" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "database of past user logins" msgstr "база данных предыдущих пользовательских входов в систему" #. 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(7)." msgstr "Описание терминов данного раздела смотрите в B(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()" msgstr "B()" #. 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 #, fuzzy, no-wrap #| msgid "MT-Unsafe race:utent sig:ALRM timer\n" msgid "" "MT-Unsafe init race:utent\n" "race:utentbuf sig:ALRM timer" msgstr "MT-Unsafe race:utent sig:ALRM timer\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "B(),\n" #| "B()" msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "MT-Unsafe race:utent sig:ALRM timer\n" msgid "" "MT-Unsafe init race:utent\n" "sig:ALRM timer" msgstr "MT-Unsafe race:utent sig:ALRM timer\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()" msgstr "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "MT-Unsafe race:utent sig:ALRM timer\n" msgid "" "MT-Unsafe race:utent\n" "sig:ALRM timer" msgstr "MT-Unsafe race:utent sig:ALRM timer\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "B(),\n" #| "B(),\n" #| "B()" msgid "" "B(),\n" "B(),\n" "B()" msgstr "" "B(),\n" "B(),\n" "B()" #. 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:utent" msgstr "MT-Unsafe race:utent" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In the above table, I in I signifies that if any of the " "functions B(), B(), B(), B(), " "B(), B(), or B() are used in parallel in " "different threads of a program, then data races could occur." msgstr "" "В приведённой выше таблице I в I означает, что если в " "нескольких нитях программы одновременно используются функции B(), " "B(), B(), B(), B(), B() " "или B(), то может возникнуть состязательность по данным." #. 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 #, fuzzy #| msgid "None" msgid "None." msgstr "None" #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "XPG2, SVr4." msgstr "XPG2, SVr4." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In XPG2 and SVID 2 the function B() is documented to return " "void, and that is what it does on many systems (AIX, HP-UX). HP-UX " "introduces a new function B<_pututline>() with the prototype given above " "for B()." msgstr "" "Согласно XPG2 и SVID 2 функция B() возвращает тип void и такое " "поведение можно встретить во многих системах (AIX, HP-UX). В HP-UX " "представлена новая функция B<_pututline>() с прототипом приведённым выше для " "B()." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "All these functions are obsolete now on non-Linux systems. POSIX.1-2001 and " "POSIX.1-2008, following SUSv1, does not have any of these functions, but " "instead uses" msgstr "" "Эти функции являются устаревшими в не Linux системах. POSIX.1-2001 и " "POSIX.1-2008, следуя SUSv1, не содержит эти функции, вместо них используются" #. 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 Eutmpx.hE>\n" msgstr "B<#include Eutmpx.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\n" msgstr "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "These functions are provided by glibc, and perform the same task as their " "equivalents without the \"x\", but use I, defined on Linux to " "be the same as I. For completeness, glibc also provides " "B(), although this function is not specified by POSIX.1." msgstr "" "Эти функции предоставляются glibc и выполняют те же задачи что и их аналоги " "без «x»\", но используют I, определённую в Linux подобно " "I. Для завершённости, в glibc также есть B(), хотя " "эта функция отсутствует в POSIX.1." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "On some other systems, the I structure is a superset of the I " "structure, with additional fields, and larger versions of the existing " "fields, and parallel files are maintained, often I and I." msgstr "" "В некоторых других системах структура I представляет собой I с " "дополнительными полями и увеличенными размерами одинаковых полей, а также " "параллельно обслуживаются обе версии файлов, часто I и I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Linux glibc on the other hand does not use a parallel I file since " "its I structure is already large enough. The \"x\" functions listed " "above are just aliases for their counterparts without the \"x\" (e.g., " "B() is an alias for B())." msgstr "" "С другой стороны, в Linux glibc не используется второй файл I, так " "как её структура I имеет достаточный размер. Функции с «x», " "перечисленные выше, являются просто псевдонимами их аналогов без " "«x» (например, B() псевдоним B())." #. 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: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "glibc notes" msgstr "Замечания по glibc" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The above functions are not thread-safe. Glibc adds reentrant versions" msgid "The above functions are not thread-safe. glibc adds reentrant versions" msgstr "" "Перечисленные выше функции нельзя использовать в нескольких нитях " "одновременно. В glibc добавлены реентерабельные версии." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>IB<);>\n" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Требования макроса тестирования свойств для glibc (см. " "B(7)):" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(), B(), B():" msgstr "B(), B(), B():" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| " _GNU_SOURCE\n" #| " || /* since glibc 2.19: */ _DEFAULT_SOURCE\n" #| " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" msgid "" " _GNU_SOURCE\n" " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" msgstr "" " _GNU_SOURCE\n" " || /* начиная с glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "These functions are GNU extensions, analogs of the functions of the same " "name without the _r suffix. The I argument gives these functions a " "place to store their result. On success, they return 0, and a pointer to " "the result is written in I<*ubufp>. On error, these functions return -1. " "There are no utmpx equivalents of the above functions. (POSIX.1 does not " "specify such functions.)" msgstr "" "Эти функции являются расширениями GNU, они аналогичны функциям с тем же " "именем без суффикса _r. В аргумент I, передаваемый этим функциям, " "помещается результат. При успешном выполнении они возвращают 0 и указатель " "на результат записывается в I<*ubufp>. При ошибке эти функции возвращают -1. " "Среди этих функций отсутствует эквиваленты utmpx (в POSIX.1 такие функции " "отсутствуют)." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The following example adds and removes a utmp record, assuming it is run " "from within a pseudo terminal. For usage in a real application, you should " "check the return values of B(3) and B(3)." msgstr "" "Нижеследующий пример добавляет и удаляет запись utmp, предполагается, что " "программа запущена с псевдотерминала. Для использования в реальном " "приложении необходимо проверять значения, возвращаемые B(3) и " "B(3)." #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| " entry.ut_type = USER_PROCESS;\n" #| " entry.ut_pid = getpid();\n" #| " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" #| " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" #| " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" #| " time(&entry.ut_time);\n" #| " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" #| " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" #| " entry.ut_addr = 0;\n" #| " setutent();\n" #| " pututline(&entry);\n" msgid "" "#include Epwd.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Etime.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct utmp entry;\n" "\\&\n" " system(\"echo before adding entry:;who\");\n" "\\&\n" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " entry.ut_time = time(NULL);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" "\\&\n" " system(\"echo after adding entry:;who\");\n" "\\&\n" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" "\\&\n" " system(\"echo after removing entry:;who\");\n" "\\&\n" " endutent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* правильные имена ptys только /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" #. SRC END #. 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(3), B(5)" msgstr "B(3), B(5)" #. 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 opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "#include Estring.hE\n" #| "#include Estdlib.hE\n" #| "#include Epwd.hE\n" #| "#include Eunistd.hE\n" #| "#include Eutmp.hE\n" #| "#include Etime.hE\n" msgid "" "#include Epwd.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Etime.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" msgstr "" "#include Estring.hE\n" "#include Estdlib.hE\n" "#include Epwd.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" "#include Etime.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "int\n" #| "main(int argc, char *argv[])\n" #| "{\n" #| " struct utmp entry;\n" msgid "" "int\n" "main(void)\n" "{\n" " struct utmp entry;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " struct utmp entry;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo before adding entry:;who\");\n" msgstr " system(\"echo перед добавлением записи:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" msgstr "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* правильные имена ptys только /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo after adding entry:;who\");\n" msgstr " system(\"echo после добавления записи:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" msgstr "" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo after removing entry:;who\");\n" msgstr " system(\"echo после удаления записи:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " endutent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " endutent();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 октября 2023 г." #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Linux man-pages 6.7" #. 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" #. type: TH #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages 6.7"