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