summaryrefslogtreecommitdiffstats
path: root/man2/getitimer.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/getitimer.2')
-rw-r--r--man2/getitimer.229
1 files changed, 15 insertions, 14 deletions
diff --git a/man2/getitimer.2 b/man2/getitimer.2
index b0a97c68f..b54b7cf54 100644
--- a/man2/getitimer.2
+++ b/man2/getitimer.2
@@ -191,33 +191,34 @@ POSIX.1-2008 marks
and
.BR setitimer ()
obsolete, recommending the use of the POSIX timers API
-.RB ( timer_gettime (2),
-.BR timer_settime (2),
+\%(\c
+.MR timer_gettime 2 ,
+.MR timer_settime 2 ,
etc.) instead.
.SH NOTES
Timers will never expire before the requested time,
but may expire some (short) time afterward, which depends
on the system timer resolution and on the system load; see
-.BR time (7).
+.MR time 7 .
(But see BUGS below.)
If the timer expires while the process is active (always true for
.BR ITIMER_VIRTUAL ),
the signal will be delivered immediately when generated.
.P
A child created via
-.BR fork (2)
+.MR fork 2
does not inherit its parent's interval timers.
Interval timers are preserved across an
-.BR execve (2).
+.MR execve 2 .
.P
POSIX.1 leaves the
interaction between
.BR setitimer ()
and the three interfaces
-.BR alarm (2),
-.BR sleep (3),
+.MR alarm 2 ,
+.MR sleep 3 ,
and
-.BR usleep (3)
+.MR usleep 3
unspecified.
.SH BUGS
The generation and delivery of a signal are distinct, and
@@ -270,9 +271,9 @@ error.
.\" http://bugzilla.kernel.org/show_bug.cgi?id=6443
.\" "setitimer() should reject noncanonical arguments"
.SH SEE ALSO
-.BR gettimeofday (2),
-.BR sigaction (2),
-.BR signal (2),
-.BR timer_create (2),
-.BR timerfd_create (2),
-.BR time (7)
+.MR gettimeofday 2 ,
+.MR sigaction 2 ,
+.MR signal 2 ,
+.MR timer_create 2 ,
+.MR timerfd_create 2 ,
+.MR time 7