diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2012-06-01 14:40:16 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2012-06-01 14:40:16 +0000 |
| commit | c99cdf7f7e1b7582279f3293370babe412b03121 (patch) | |
| tree | a128c55366669bea8db8ab27f3ab2b3a53d2d0a8 /lib/libc/stdlib/realpath.3 | |
| parent | 59aeb163838cf659e3b444ce3fada12dff6a42a7 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/realpath.3')
| -rw-r--r-- | lib/libc/stdlib/realpath.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index fec5258eae16..c7384d607034 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -31,7 +31,7 @@ .\" @(#)realpath.3 8.2 (Berkeley) 2/16/94 .\" $FreeBSD$ .\" -.Dd April 19, 2010 +.Dd May 11, 2012 .Dt REALPATH 3 .Os .Sh NAME @@ -40,7 +40,6 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/param.h .In stdlib.h .Ft "char *" .Fn realpath "const char *pathname" "char *resolved_path" @@ -72,11 +71,12 @@ The function will resolve both absolute and relative paths and return the absolute pathname corresponding to .Fa pathname . -All but the last component of +All components of .Fa pathname must exist when .Fn realpath -is called. +is called, and all but the last component must name either directories or +symlinks pointing to the directories. .Sh "RETURN VALUES" The .Fn realpath |
