summaryrefslogtreecommitdiff
path: root/man3/basename.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-03-30 11:32:52 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-03-30 11:32:52 +1300
commitd6922779dffb838ad2500b6f79c6f422223752a8 (patch)
tree8392b144135618a9f85ee723076761ca63753a8c /man3/basename.3
parent90eeb47a64f4227e182bfc0f4f7b07aa6c5f4193 (diff)
basename.3: Note that pointers returned by these functions should not be freed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/basename.3')
-rw-r--r--man3/basename.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man3/basename.3 b/man3/basename.3
index b1de636b..228c2a39 100644
--- a/man3/basename.3
+++ b/man3/basename.3
@@ -22,7 +22,7 @@
.\" License.
.\" Created, 14 Dec 2000 by Michael Kerrisk
.\"
-.TH BASENAME 3 2000-12-14 "GNU" "Linux Programmer's Manual"
+.TH BASENAME 3 2009-03-30 "GNU" "Linux Programmer's Manual"
.SH NAME
basename, dirname \- parse pathname components
.SH SYNOPSIS
@@ -120,6 +120,8 @@ Both
and
.BR basename ()
return pointers to null-terminated strings.
+(Do not pass these pointers to
+.BR free (3).)
.SH "CONFORMING TO"
POSIX.1-2001.
.SH NOTES