summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorChris Costello <chris@FreeBSD.org>2000-01-29 19:22:03 +0000
committerChris Costello <chris@FreeBSD.org>2000-01-29 19:22:03 +0000
commit805d74128381ddda0dc97fe89050a0436f9f3e9d (patch)
tree3d2ec5a612a3b7142efeb314a6e4aa5dd0dba0c4 /lib/libc
parentb07b699e9397c3ac90ee5769cf26cf2adc3845ea (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/realpath.311
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