mirror of https://github.com/mkerrisk/man-pages
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:
parent
acbba9e3d9
commit
6d682990cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue