diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdlib/realpath.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index 1cbbca9cb765..842ceb4bf51f 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -33,6 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)realpath.3 8.2 (Berkeley) 2/16/94 +.\" $FreeBSD$ .\" .Dd February 16, 1994 .Dt REALPATH 3 @@ -44,7 +45,7 @@ .Fd #include <sys/param.h> .Fd #include <stdlib.h> .Ft "char *" -.Fn realpath "const char *pathname" "char resolvedname[MAXPATHLEN]" +.Fn realpath "const char *pathname" "char resolved_path[MAXPATHLEN]" .Sh DESCRIPTION The .Fn realpath @@ -58,9 +59,9 @@ in .Fa pathname , and copies the resulting absolute pathname into the memory referenced by -.Fa resolvedname . +.Fa resolved_path . The -.Fa resolvedname +.Fa resolved_path argument .Em must refer to a buffer capable of storing at least @@ -81,14 +82,14 @@ is called. The .Fn realpath function returns -.Fa resolved_name +.Fa resolved_path on success. If an error occurs, .Fn realpath returns .Dv NULL , and -.Fa resolved_name +.Fa resolved_path contains the pathname which caused the problem. .Sh ERRORS The function |
