[PATCH] tmpnam.3: ATTRIBUTES: Note function that is thread safe with exceptions

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

 



The function tmpnam() is thread safe with exceptions.

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

diff --git a/man3/tmpnam.3 b/man3/tmpnam.3
index b2bc3b2..0b92970 100644
--- a/man3/tmpnam.3
+++ b/man3/tmpnam.3
@@ -74,6 +74,16 @@ function returns a pointer to a unique temporary
 filename, or NULL if a unique name cannot be generated.
 .SH ERRORS
 No errors are defined.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR tmpnam ()
+function is thread-safe with exceptions.
+It is not thread-safe if called with a NULL parameter.
+.LP
+The
+.BR tmpnam_r ()
+function is thread-safe.
 .SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
 POSIX.1-2008 marks
-- 
1.8.1.4

--
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