[PATCH] basename.3: ATTRIBUTES: Note functions that are thread-safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The functions basename() and dirname() are thread safe.

Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx>
---
 man3/basename.3 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/man3/basename.3 b/man3/basename.3
index bde1471..3894819 100644
--- a/man3/basename.3
+++ b/man3/basename.3
@@ -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
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux