aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/realpath.39
1 files changed, 6 insertions, 3 deletions
diff --git a/man3/realpath.3 b/man3/realpath.3
index 3854c39417..424c9279e7 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 2008-08-21 "" "Linux Programmer's Manual"
+.TH REALPATH 3 2008-09-26 "" "Linux Programmer's Manual"
.SH NAME
realpath \- return the canonicalized absolute pathname
.SH SYNOPSIS
@@ -49,9 +49,12 @@ to
and extra \(aq/\(aq
characters in the null-terminated string named by
.I path
-and stores the canonicalized absolute pathname in the buffer of size
+to produce a canonicalized absolute pathname.
+The resulting pathname is stored as a null-terminated string,
+up to a maximum of
.B PATH_MAX
-named by
+butes,
+in the buffer pointed to by
.IR resolved_path .
The resulting path will have no symbolic link,
.I "/./"