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:
Zeng Linggang 2015-04-23 12:51:49 +08:00 committed by Michael Kerrisk
parent eed599dc4a
commit 7e548eade8
1 changed files with 13 additions and 0 deletions

View File

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