summaryrefslogtreecommitdiffstats
path: root/man3/sleep.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sleep.3')
-rw-r--r--man3/sleep.322
1 files changed, 11 insertions, 11 deletions
diff --git a/man3/sleep.3 b/man3/sleep.3
index 0cf235d90..f60961854 100644
--- a/man3/sleep.3
+++ b/man3/sleep.3
@@ -28,7 +28,7 @@ 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).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -44,20 +44,20 @@ T} Thread safety MT-Unsafe sig:SIGCHLD/linux
On Linux,
.BR sleep ()
is implemented via
-.BR nanosleep (2).
+.MR nanosleep 2 .
See the
-.BR nanosleep (2)
+.MR nanosleep 2
man page for a discussion of the clock used.
.P
On some systems,
.BR sleep ()
may be implemented using
-.BR alarm (2)
+.MR alarm 2
and
.B SIGALRM
(POSIX.1 permits this);
mixing calls to
-.BR alarm (2)
+.MR alarm 2
and
.BR sleep ()
is a bad idea.
@@ -67,13 +67,13 @@ POSIX.1-2008.
POSIX.1-2001.
.SH CAVEATS
Using
-.BR longjmp (3)
+.MR longjmp 3
from a signal handler or modifying the handling of
.B SIGALRM
while sleeping will cause undefined results.
.SH SEE ALSO
-.BR sleep (1),
-.BR alarm (2),
-.BR nanosleep (2),
-.BR signal (2),
-.BR signal (7)
+.MR sleep 1 ,
+.MR alarm 2 ,
+.MR nanosleep 2 ,
+.MR signal 2 ,
+.MR signal 7