setenv.3: ATTRIBUTES: Note functions that are thread-unsafe

The function setenv() and unsetenv() are thread unsafe.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Ma Shimiao 2014-12-31 13:22:35 +08:00 committed by Michael Kerrisk
parent acbba9e3d9
commit 6d682990cd
1 changed files with 13 additions and 0 deletions

View File

@ -125,6 +125,19 @@ or contains an \(aq=\(aq character.
.TP
.B ENOMEM
Insufficient memory to add a new variable to the 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 setenv (),
.BR unsetenv ()
T} Thread safety MT-Unsafe const:env
.TE
.SH CONFORMING TO
4.3BSD, POSIX.1-2001.
.SH NOTES