diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2009-03-30 11:32:52 +1300 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2009-03-30 11:32:52 +1300 |
commit | d6922779dffb838ad2500b6f79c6f422223752a8 (patch) | |
tree | 8392b144135618a9f85ee723076761ca63753a8c | |
parent | 90eeb47a64f4227e182bfc0f4f7b07aa6c5f4193 (diff) |
basename.3: Note that pointers returned by these functions should not be freed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/basename.3 | 4 |
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 |