mirror of https://github.com/mkerrisk/man-pages
sleep.3: ATTRIBUTES: Note function that isn't thread-safe
The marking matches glibc marking. The marking of functions in glibc is: - sleep: MT-Unsafe sig:SIGCHLD/linux Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
eed599dc4a
commit
7e548eade8
13
man3/sleep.3
13
man3/sleep.3
|
@ -41,6 +41,19 @@ seconds have elapsed or a signal arrives which is not ignored.
|
|||
Zero if the requested time has elapsed,
|
||||
or the number of seconds left to sleep,
|
||||
if the call was interrupted by a signal handler.
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
.BR attributes (7).
|
||||
.TS
|
||||
allbox;
|
||||
lb lb lbw27
|
||||
l l l.
|
||||
Interface Attribute Value
|
||||
T{
|
||||
.BR sleep ()
|
||||
T} Thread safety MT-Unsafe sig:SIGCHLD/linux
|
||||
.TE
|
||||
|
||||
.SH CONFORMING TO
|
||||
POSIX.1-2001.
|
||||
.SH BUGS
|
||||
|
|
Loading…
Reference in New Issue