aboutsummaryrefslogtreecommitdiffstats
path: root/man3/usleep.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/usleep.3')
-rw-r--r--man3/usleep.39
1 files changed, 5 insertions, 4 deletions
diff --git a/man3/usleep.3 b/man3/usleep.3
index 07c7e68a50..03804d4366 100644
--- a/man3/usleep.3
+++ b/man3/usleep.3
@@ -81,12 +81,13 @@ T} Thread safety MT-Safe
.ad
.sp 1
.SH STANDARDS
+None.
+.SH HISTORY
4.3BSD, POSIX.1-2001.
-POSIX.1-2001 declares this function obsolete; use
+POSIX.1-2001 declares it obsolete, suggesting
.BR nanosleep (2)
instead.
-POSIX.1-2008 removes the specification of
-.BR usleep ().
+Removed in POSIX.1-2008.
.PP
On the original BSD implementation,
and before glibc 2.2.2, the return type of this function is
@@ -98,7 +99,7 @@ and this is also the prototype used since glibc 2.2.2.
Only the
.B EINVAL
error return is documented by SUSv2 and POSIX.1-2001.
-.SH NOTES
+.SH CAVEATS
The interaction of this function with the
.B SIGALRM
signal, and with other timer functions such as