summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/dirname.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/dirname.3')
-rw-r--r--lib/libc/gen/dirname.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/dirname.3 b/lib/libc/gen/dirname.3
index 624cf72..30d0be7 100644
--- a/lib/libc/gen/dirname.3
+++ b/lib/libc/gen/dirname.3
@@ -78,7 +78,9 @@ The path component to be returned was larger than
.Dv MAXPATHLEN .
.El
.Sh WARNINGS
+The
.Fn dirname
+function
returns a pointer to internal static storage space that will be overwritten
by subsequent calls (each function has its own separate storage).
.Pp
OpenPOWER on IntegriCloud