# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # aereiae , 2014. # Azamat Hackimov , 2013-2014, 2016. # Dmitriy S. Seregin , 2013. # Katrin Kutepova , 2018. # Lockal , 2013. # Yuri Kozlov , 2011-2019. # Баринов Владимир, 2016. # Иван Павлов , 2017,2019. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 06:15+0200\n" "PO-Revision-Date: 2019-10-06 09:20+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 "realpath" 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 "realpath - return the canonicalized absolute pathname" msgstr "realpath - возвращает канонизированный абсолютный путь" #. 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 Elimits.hE>\n" "B<#include Estdlib.hE>\n" msgstr "" "B<#include Elimits.hE>\n" "B<#include Estdlib.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 "BIB<, char *>IB<);>\n" msgid "" "BIB<,>\n" "B< char *restrict >IB<);>\n" msgstr "BIB<, char *>IB<);>\n" #. 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():" msgstr "B():" #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "_XOPEN_SOURCE\\ E=\\ 500\n" #| " || /* Glibc since 2.19: */ _DEFAULT_SOURCE\n" #| " || /* Glibc versions E= 2.19: */ _BSD_SOURCE\n" msgid "" " _XOPEN_SOURCE E= 500\n" " || /* glibc E= 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" "_XOPEN_SOURCE\\ E=\\ 500\n" " || /* в glibc начиная с 2.19: */ _DEFAULT_SOURCE\n" " || /* версии glibc E= 2.19: */ _BSD_SOURCE\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 "" #| "B() expands all symbolic links and resolves references to I, I and extra \\(aq/\\(aq characters in the null-terminated string " #| "named by I to produce a canonicalized absolute pathname. The " #| "resulting pathname is stored as a null-terminated string, up to a maximum " #| "of B bytes, in the buffer pointed to by I. The " #| "resulting path will have no symbolic link, I or I components." msgid "" "B() expands all symbolic links and resolves references to I, " "I and extra \\[aq]/\\[aq] characters in the null-terminated string " "named by I to produce a canonicalized absolute pathname. The " "resulting pathname is stored as a null-terminated string, up to a maximum of " "B bytes, in the buffer pointed to by I. The " "resulting path will have no symbolic link, I or I components." msgstr "" "Функция B() раскрывает все символьные ссылки, конструкции I, " "I и дополнительные символы «/» в строке I (завершается null) для " "создания канонического абсолютного пути. Получившееся имя сохраняется в виде " "строки (с null на конце) не длиннее чем B байт в буфере, указанном " "в I. Конечный путь не содержит символьных ссылок и " "компонентов I или I." #. #-#-#-#-# archlinux: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# debian-bookworm: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. .SH HISTORY #. The #. .BR realpath () #. function first appeared in 4.4BSD, contributed by Jan-Simon Pendry. #. type: Plain text #. #-#-#-#-# debian-unstable: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# fedora-40: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# fedora-rawhide: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# mageia-cauldron: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# opensuse-leap-15-6: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. Even if we use resolved_path == NULL, then realpath() will still #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX #. bytes -- MTK, Dec 04 #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If I is specified as NULL, then B() uses " "B(3) to allocate a buffer of up to B bytes to hold the " "resolved pathname, and returns a pointer to this buffer. The caller should " "deallocate this buffer using B(3)." msgstr "" "Если значение I равно NULL, то B() выделяет буфер " "размером B байт с помощью B(3) для хранения полного пути и " "возвращает указатель на этот буфер. Вызывающий должен освободить буфер с " "помощью B(3)." #. 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 "" "If there is no error, B() returns a pointer to the " "I." msgstr "" "При успешном выполнении B() возвращает указатель на " "I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Otherwise, it returns NULL, the contents of the array I are " "undefined, and I is set to indicate the error." msgstr "" "При ошибках возвращается NULL, содержимое массива I не " "определено и в 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 "" "Read or search permission was denied for a component of the path prefix." 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" #. (In libc5 this would just cause a segfault.) #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "I is NULL. (In glibc versions before 2.3, this error is also " #| "returned if I is NULL.)" msgid "" "I is NULL. (Before glibc 2.3, this error is also returned if " "I is NULL.)" msgstr "" "Значение I равно NULL (в glibc до версии 2.3 эта ошибка также " "возвращалась и при I равном NULL)." #. 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 "An I/O error occurred while reading from the filesystem." 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 "Too many symbolic links were encountered in translating the pathname." msgstr "" "Во время определения pathname встретилось слишком много символьных ссылок." #. 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 "" "A component of a pathname exceeded B characters, or an entire " "pathname exceeded B characters." msgstr "" "Компонент имени пути более B символов, или весь путь более " "B символов." #. 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 "The named file does not exist." 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 "A component of the path prefix is not a directory." 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 #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "ВЕРСИИ" #. type: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "GNU extensions" msgstr "Расширения GNU" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If the call fails with either B or B and I is " "not NULL, then the prefix of I that is not readable or does not exist " "is returned in I." msgstr "" "Если вызов завершается с ошибкой B или B и значение " "I не равно NULL, то в I возвращается начало не " "читаемой или не существующей части I." #. 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 "POSIX.1-2008." msgstr "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 #, fuzzy #| msgid "4.4BSD, POSIX.1-2001." msgid "4.4BSD, POSIX.1-2001, Solaris." msgstr "4.4BSD, POSIX.1-2001." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "POSIX.1-2001 says that the behavior if I is NULL is " "implementation-defined. POSIX.1-2008 specifies the behavior described in " "this page." msgstr "" "В POSIX.1-2001 сказано, что поведение при значении I равном " "NULL, зависит от реализации. В POSIX.1-2008 определено поведение, " "аналогичное описанию на этой странице." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In 4.4BSD and Solaris, the limit on the pathname length is B " "(found in Isys/param.hE>). SUSv2 prescribes B and " "B, as found in Ilimits.hE> or provided by the " "B(3) function. A typical source fragment would be" msgstr "" "В 4.4BSD и Solaris максимальная длина пути равна B (находится в " "Isys/param.hE>). В SUSv2 величины B и B " "представлены в Ilimits.hE> или предоставляются функцией " "B(3). Вот типичный фрагмент кода:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "#ifdef PATH_MAX\n" " path_max = PATH_MAX;\n" "#else\n" " path_max = pathconf(path, _PC_PATH_MAX);\n" " if (path_max E= 0)\n" " path_max = 4096;\n" "#endif\n" msgstr "" "#ifdef PATH_MAX\n" " path_max = PATH_MAX;\n" "#else\n" " path_max = pathconf(path, _PC_PATH_MAX);\n" " if (path_max E= 0)\n" " path_max = 4096;\n" "#endif\n" #. #-#-#-#-# archlinux: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# debian-bookworm: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .PP #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# debian-unstable: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# fedora-40: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# fedora-rawhide: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# mageia-cauldron: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# opensuse-leap-15-6: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .PP #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. 2012-05-05, According to Casper Dik, the statement about #. Solaris was not true at least as far back as 1997, and #. may never have been true. #. The 4.4BSD, Linux and SUSv2 versions always return an absolute #. pathname. #. Solaris may return a relative pathname when the #. .I path #. argument is relative. #. The prototype of #. .BR realpath () #. is given in \fI\fP in libc4 and libc5, #. but in \fI\fP everywhere else. #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "(But see the BUGS section.)" msgstr "(Но смотрите раздел ДЕФЕКТЫ)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "ОШИБКИ" #. #-#-#-#-# archlinux: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# debian-bookworm: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .LP #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# debian-unstable: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# fedora-40: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# fedora-rawhide: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# mageia-cauldron: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# opensuse-leap-15-6: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .LP #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: realpath.3.pot (PACKAGE VERSION) #-#-#-#-# #. .P #. The libc4 and libc5 implementation contained a buffer overflow #. (fixed in libc-5.4.13). #. Thus, set-user-ID programs like #. .BR mount (8) #. needed a private version. #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The POSIX.1-2001 standard version of this function is broken by design, " "since it is impossible to determine a suitable size for the output buffer, " "I. According to POSIX.1-2001 a buffer of size B " "suffices, but B need not be a defined constant, and may have to be " "obtained using B(3). And asking B(3) does not really " "help, since, on the one hand POSIX warns that the result of B(3) " "may be huge and unsuitable for mallocing memory, and on the other hand " "B(3) may return -1 to signify that B is not bounded. " "The I feature, not standardized in POSIX.1-2001, " "but standardized in POSIX.1-2008, allows this design problem to be avoided." msgstr "" "Стандартная версия этой функции POSIX.1-2001 некорректна изначально, так как " "невозможно определить подходящий размер для буфера результата. В " "соответствии с POSIX.1-2001 буфера размером B должно хватить, но " "B может не задаваться константой, а получаться через функцию " "B(3). И запрос B(3) особо не поможет, так как с одной " "стороны POSIX предупреждает, что результат B(3) может быть слишком " "велик и не пригоден для выделения памяти. С другой стороны, B(3) " "может возвратить -1 для обозначения того, что B неограничен. " "Свойство I, не стандартизованное в POSIX.1-2001, " "но стандартизованное в POSIX.1-2008, позволяет избежать этой проблемы " "проектирования." #. 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(1), B(2), B(3), B(3), " "B(3), B(3)" msgstr "" "B(1), B(2), B(3), B(3), " "B(3), B(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 "4.4BSD, POSIX.1-2001." msgstr "4.4BSD, POSIX.1-2001." #. type: SH #: debian-bookworm #, no-wrap msgid "NOTES" msgstr "ПРИМЕЧАНИЯ" #. 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"