# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2024-06-01 06:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "realpath" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "" #. 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 "" #. 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 "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< char *restrict >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 "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B():" msgstr "" #. || _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 #, no-wrap msgid "" " _XOPEN_SOURCE E= 500\n" " || /* glibc E= 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" #. 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 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 "" #. #-#-#-#-# 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. (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 msgid "" "I is NULL. (Before glibc 2.3, this error is also returned if " "I is NULL.)" 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 "" #. 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 "" #. 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 "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "" #. 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 "4.4BSD, POSIX.1-2001, Solaris." msgstr "" #. 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 "" #. 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 "" #. 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 "" # #. #-#-#-#-# 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 "" #. 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 "" #. type: TH #: debian-bookworm #, no-wrap msgid "2023-02-05" msgstr "" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "" #. type: Plain text #: debian-bookworm msgid "4.4BSD, POSIX.1-2001." msgstr "" #. type: SH #: debian-bookworm #, no-wrap msgid "NOTES" msgstr "" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""