diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man3/canonicalize_file_name.3 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/canonicalize_file_name.3')
-rw-r--r-- | man3/canonicalize_file_name.3 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/man3/canonicalize_file_name.3 b/man3/canonicalize_file_name.3 index 5d9e466..6304835 100644 --- a/man3/canonicalize_file_name.3 +++ b/man3/canonicalize_file_name.3 @@ -4,7 +4,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH canonicalize_file_name 3 2023-07-20 "Linux man-pages 6.05.01" +.TH canonicalize_file_name 3 2023-10-31 "Linux man-pages 6.7" .SH NAME canonicalize_file_name \- return the canonicalized absolute pathname .SH LIBRARY @@ -14,7 +14,7 @@ Standard C library .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <stdlib.h> -.PP +.P .BI "char *canonicalize_file_name(const char *" path ");" .fi .SH DESCRIPTION @@ -31,17 +31,17 @@ pathname components. Consecutive slash .RI ( / ) characters are replaced by a single slash. -.PP +.P The returned string is dynamically allocated by .BR canonicalize_file_name () and the caller should deallocate it with .BR free (3) when it is no longer required. -.PP +.P The call .I canonicalize_file_name(path) is equivalent to the call: -.PP +.P .in +4n .EX realpath(path, NULL); @@ -73,7 +73,6 @@ T{ .BR canonicalize_file_name () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS GNU. .SH SEE ALSO |