summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/realpath.3')
-rw-r--r--lib/libc/stdlib/realpath.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3
index 2351c8f..2f84d1d 100644
--- a/lib/libc/stdlib/realpath.3
+++ b/lib/libc/stdlib/realpath.3
@@ -47,7 +47,7 @@
.In sys/param.h
.In stdlib.h
.Ft "char *"
-.Fn realpath "const char *pathname" "char resolved_path[MAXPATHLEN]"
+.Fn realpath "const char *pathname" "char resolved_path[PATH_MAX]"
.Sh DESCRIPTION
The
.Fn realpath
@@ -67,7 +67,7 @@ The
argument
.Em must
refer to a buffer capable of storing at least
-.Dv MAXPATHLEN
+.Dv PATH_MAX
characters.
.Pp
The
OpenPOWER on IntegriCloud