mirror of https://github.com/mkerrisk/man-pages
getpwent.3: Add explanation for "pwent" in ATTRIBUTES
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
af89b75077
commit
0970ab3f6f
|
@ -172,6 +172,19 @@ T{
|
||||||
.BR endpwent ()
|
.BR endpwent ()
|
||||||
T} Thread safety MT-Unsafe race:pwent locale
|
T} Thread safety MT-Unsafe race:pwent locale
|
||||||
.TE
|
.TE
|
||||||
|
|
||||||
|
[[
|
||||||
|
In the above table,
|
||||||
|
.I pwent
|
||||||
|
in
|
||||||
|
.I race:pwent
|
||||||
|
signifies that if any of the functions
|
||||||
|
.BR setpwent (),
|
||||||
|
.BR getpwent (),
|
||||||
|
or
|
||||||
|
.BR endpwent ()
|
||||||
|
are used in parallel in different threads of a program, then data races could occur.
|
||||||
|
]]
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4, 4.3BSD, POSIX.1-2001.
|
SVr4, 4.3BSD, POSIX.1-2001.
|
||||||
The
|
The
|
||||||
|
|
Loading…
Reference in New Issue