Merge from RELENG_3 (oops):

resolved_name	-> resolved_path
    resolvedname	-> resolved_path
This commit is contained in:
chris 2000-01-29 19:43:25 +00:00
parent 394b57d7b2
commit ed1d6704fb

View File

@ -45,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
@ -59,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
@ -82,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