]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
basename.3: ATTRIBUTES: Note functions that are thread-safe
authorPeng Haitao <penght@cn.fujitsu.com>
Mon, 9 Jun 2014 10:32:26 +0000 (18:32 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 9 Jun 2014 19:28:42 +0000 (21:28 +0200)
The functions basename() and dirname() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/basename.3

index bde14716370d6a8afcde2fce13ca2cdef54afadc..389481989f6bc4470327880e6d6bd3c7f500ce2a 100644 (file)
@@ -126,6 +126,13 @@ and
 return pointers to null-terminated strings.
 (Do not pass these pointers to
 .BR free (3).)
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR basename ()
+and
+.BR dirname ()
+functions are thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES