summaryrefslogtreecommitdiff
path: root/man3/realpath.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/realpath.3')
-rw-r--r--man3/realpath.311
1 files changed, 10 insertions, 1 deletions
diff --git a/man3/realpath.3 b/man3/realpath.3
index b3ea07e8a..4f503c2ed 100644
--- a/man3/realpath.3
+++ b/man3/realpath.3
@@ -23,7 +23,7 @@
.\" Rewritten old page, 990824, aeb@cwi.nl
.\" 2004-12-14, mtk, added discussion of resolved_path == NULL
.\"
-.TH REALPATH 3 2004-12-14 "" "Linux Programmer's Manual"
+.TH REALPATH 3 2007-07-26 "" "Linux Programmer's Manual"
.SH NAME
realpath \- return the canonicalized absolute pathname
.SH SYNOPSIS
@@ -32,6 +32,15 @@ realpath \- return the canonicalized absolute pathname
.B #include <stdlib.h>
.sp
.BI "char *realpath(const char *" path ", char *" resolved_path );
+.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR realpath ():
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
.SH DESCRIPTION
.BR realpath ()
expands all symbolic links and resolves references