diff options
Diffstat (limited to 'templates/man3/realpath.3.pot')
-rw-r--r-- | templates/man3/realpath.3.pot | 749 |
1 files changed, 749 insertions, 0 deletions
diff --git a/templates/man3/realpath.3.pot b/templates/man3/realpath.3.pot new file mode 100644 index 00000000..37ffa62f --- /dev/null +++ b/templates/man3/realpath.3.pot @@ -0,0 +1,749 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2024-03-01 17:05+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\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 fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "" + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +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<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>limits.hE<gt>>\n" +"B<#include E<lt>stdlib.hE<gt>>\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 "" +"B<char *realpath(const char *restrict >I<path>B<,>\n" +"B< char *restrict >I<resolved_path>B<);>\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<feature_test_macros>(7)):" +msgstr "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "B<realpath>():" +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<gt>= 500\n" +" || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n" +" || /* glibc E<lt>= 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<realpath>() expands all symbolic links and resolves references to I</./>, " +"I</../> and extra \\[aq]/\\[aq] characters in the null-terminated string " +"named by I<path> to produce a canonicalized absolute pathname. The " +"resulting pathname is stored as a null-terminated string, up to a maximum of " +"B<PATH_MAX> bytes, in the buffer pointed to by I<resolved_path>. 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<resolved_path> is specified as NULL, then B<realpath>() uses " +"B<malloc>(3) to allocate a buffer of up to B<PATH_MAX> bytes to hold the " +"resolved pathname, and returns a pointer to this buffer. The caller should " +"deallocate this buffer using B<free>(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<realpath>() returns a pointer to the " +"I<resolved_path>." +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<resolved_path> are " +"undefined, and I<errno> 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<EACCES>" +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<EINVAL>" +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<path> is NULL. (Before glibc 2.3, this error is also returned if " +"I<resolved_path> 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<EIO>" +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<ELOOP>" +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<ENAMETOOLONG>" +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<NAME_MAX> characters, or an entire " +"pathname exceeded B<PATH_MAX> 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<ENOENT>" +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<ENOMEM>" +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<ENOTDIR>" +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<attributes>(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<realpath>()" +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<EACCES> or B<ENOENT> and I<resolved_path> is " +"not NULL, then the prefix of I<path> that is not readable or does not exist " +"is returned in I<resolved_path>." +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<resolved_path> 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<MAXPATHLEN> " +"(found in I<E<lt>sys/param.hE<gt>>). SUSv2 prescribes B<PATH_MAX> and " +"B<NAME_MAX>, as found in I<E<lt>limits.hE<gt>> or provided by the " +"B<pathconf>(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<lt>= 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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\fP everywhere else. +#. type: Plain text +#. #-#-#-#-# debian-unstable: 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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\fP everywhere else. +#. type: Plain text +#. #-#-#-#-# opensuse-tumbleweed: 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<unistd.h>\fP in libc4 and libc5, +#. but in \fI<stdlib.h>\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) #-#-#-#-# +#. .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 +#. #-#-#-#-# 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) #-#-#-#-# +#. .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 +#: 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<resolved_path>. According to POSIX.1-2001 a buffer of size B<PATH_MAX> " +"suffices, but B<PATH_MAX> need not be a defined constant, and may have to be " +"obtained using B<pathconf>(3). And asking B<pathconf>(3) does not really " +"help, since, on the one hand POSIX warns that the result of B<pathconf>(3) " +"may be huge and unsuitable for mallocing memory, and on the other hand " +"B<pathconf>(3) may return -1 to signify that B<PATH_MAX> is not bounded. " +"The I<resolved_path\\ ==\\ NULL> 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<realpath>(1), B<readlink>(2), B<canonicalize_file_name>(3), B<getcwd>(3), " +"B<pathconf>(3), B<sysconf>(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 +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "2023-07-20" +msgstr "" + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages 6.05.01" +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 "" |