mirror of https://github.com/mkerrisk/man-pages
alarm.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8c1cb77bee
commit
415573e691
10
man2/alarm.2
10
man2/alarm.2
|
@ -33,7 +33,7 @@ alarm \- set an alarm clock for delivery of a signal
|
|||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <unistd.h>
|
||||
.sp
|
||||
.PP
|
||||
.BI "unsigned int alarm(unsigned int " seconds );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
@ -43,11 +43,11 @@ arranges for a
|
|||
signal to be delivered to the calling process in
|
||||
.I seconds
|
||||
seconds.
|
||||
|
||||
.PP
|
||||
If
|
||||
.I seconds
|
||||
is zero, any pending alarm is canceled.
|
||||
|
||||
.PP
|
||||
In any event any previously set
|
||||
.BR alarm ()
|
||||
is canceled.
|
||||
|
@ -64,7 +64,7 @@ and
|
|||
.BR setitimer (2)
|
||||
share the same timer; calls to one will interfere with use of the
|
||||
other.
|
||||
|
||||
.PP
|
||||
Alarms created by
|
||||
.BR alarm ()
|
||||
are preserved across
|
||||
|
@ -80,7 +80,7 @@ mixing calls to
|
|||
and
|
||||
.BR sleep (3)
|
||||
is a bad idea.
|
||||
|
||||
.PP
|
||||
Scheduling delays can, as ever, cause the execution of the process to
|
||||
be delayed by an arbitrary amount of time.
|
||||
.SH SEE ALSO
|
||||
|
|
Loading…
Reference in New Issue