[PATCH] putenv.3:ATTRIBUTES: Note function that is thread-unsafe

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

 



The function putenv() is thread unsafe.

Signed-off-by: Ma Shimiao <mashimiao.fnst@xxxxxxxxxxxxxx>
---
 man3/putenv.3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/man3/putenv.3 b/man3/putenv.3
index ff5614e..3511027 100644
--- a/man3/putenv.3
+++ b/man3/putenv.3
@@ -76,6 +76,18 @@ is set to indicate the cause.
 .TP
 .B ENOMEM
 Insufficient space to allocate new environment.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR putenv ()
+T}	Thread safety	MT-Unsafe const:env
+.TE
 .SH CONFORMING TO
 SVr4, POSIX.1-2001, 4.3BSD.
 .SH NOTES
-- 
1.8.3.1

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