man-pages/man3/canonicalize_file_name.3

24 lines
697 B
Groff
Raw Normal View History

2005-07-14 14:55:50 +00:00
.\" Copyright 2005 walter harms (walter.harms@informatik.uni-oldenburg.de)
2007-09-20 06:52:22 +00:00
.\" and Copyright 2005 Michael Kerrisk (mtk.manpages@gmail.com).
2005-07-14 14:55:50 +00:00
.\" Distributed under the GNU General Public License.
.\"
.TH CANONICALIZE_FILE_NAME 3 2005-07-14 "GNU" "Linux Programmer's Manual"
2005-07-14 13:55:28 +00:00
.SH NAME
2005-07-14 14:55:50 +00:00
canonicalize_file_name \- return the canonicalized filename
2005-07-14 13:55:28 +00:00
.SH SYNOPSIS
2005-07-14 14:55:50 +00:00
.B #define _GNU_SOURCE
2005-07-14 13:55:28 +00:00
.br
.B #include <stdlib.h>
.sp
2007-04-03 15:32:52 +00:00
.BI "char *canonicalize_file_name(const char *" path ");"
2005-07-14 13:55:28 +00:00
.SH DESCRIPTION
2005-07-14 14:55:50 +00:00
The call
.I canonicalize_file_name(path)
is equivalent to the call
.IR "realpath(path,\ NULL)" .
2005-07-14 13:55:28 +00:00
.SH "CONFORMING TO"
The function is a GNU extension.
.SH "SEE ALSO"
2007-01-28 20:00:24 +00:00
.BR realpath (3),
.BR feature_test_macros (7)