2005-07-14 14:55:50 +00:00
|
|
|
.\" Copyright 2005 walter harms (walter.harms@informatik.uni-oldenburg.de)
|
2006-02-15 23:15:29 +00:00
|
|
|
.\" and Copyright 2005 Michael Kerrisk (mtk-manpages@gmx.net).
|
2005-07-14 14:55:50 +00:00
|
|
|
.\" Distributed under the GNU General Public License.
|
|
|
|
.\"
|
|
|
|
.TH CANONICALIZE_FILE_NAME 3 2005-07-14 "GNU" ""
|
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
|
|
|
|
.sp
|
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
|
2005-07-14 14:55:50 +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"
|
|
|
|
.BR realpath (3)
|