]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/canonicalize_file_name.3
getresuid.2, mremap.2, poll.2, remap_file_pages.2, setresuid.2, splice.2, sync_file_r...
[thirdparty/man-pages.git] / man3 / canonicalize_file_name.3
1 .\" Copyright 2005 walter harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" and Copyright 2005 Michael Kerrisk (mtk.manpages@gmail.com).
3 .\" Distributed under the GNU General Public License.
4 .\"
5 .TH CANONICALIZE_FILE_NAME 3 2005-07-14 "GNU" "Linux Programmer's Manual"
6 .SH NAME
7 canonicalize_file_name \- return the canonicalized filename
8 .SH SYNOPSIS
9 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
10 .br
11 .B #include <stdlib.h>
12 .sp
13 .BI "char *canonicalize_file_name(const char *" path ");"
14 .SH DESCRIPTION
15 The call
16 .I canonicalize_file_name(path)
17 is equivalent to the call
18 .IR "realpath(path,\ NULL)" .
19 .SH "CONFORMING TO"
20 The function is a GNU extension.
21 .SH "SEE ALSO"
22 .BR realpath (3),
23 .BR feature_test_macros (7)