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.
5 .TH CANONICALIZE_FILE_NAME 3 2005-07-14 "GNU" "Linux Programmer's Manual"
7 canonicalize_file_name \- return the canonicalized filename
9 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
11 .B #include <stdlib.h>
13 .BI "char *canonicalize_file_name(const char *" path ");"
16 .I canonicalize_file_name(path)
17 is equivalent to the call
18 .IR "realpath(path,\ NULL)" .
20 The function is a GNU extension.