mirror of https://github.com/mkerrisk/man-pages
alarm.2: Note semantics of alarm with respect to fork() and execve()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
add6b9f633
commit
0895564bb2
|
@ -27,7 +27,7 @@
|
||||||
.\" Modified Sun Jul 21 21:25:26 1996 by Andries Brouwer <aeb@cwi.nl>
|
.\" Modified Sun Jul 21 21:25:26 1996 by Andries Brouwer <aeb@cwi.nl>
|
||||||
.\" Modified Wed Nov 6 03:46:05 1996 by Eric S. Raymond <esr@thyrsus.com>
|
.\" Modified Wed Nov 6 03:46:05 1996 by Eric S. Raymond <esr@thyrsus.com>
|
||||||
.\"
|
.\"
|
||||||
.TH ALARM 2 2013-04-18 "Linux" "Linux Programmer's Manual"
|
.TH ALARM 2 2014-02-23 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
alarm \- set an alarm clock for delivery of a signal
|
alarm \- set an alarm clock for delivery of a signal
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -64,6 +64,13 @@ and
|
||||||
.BR setitimer (2)
|
.BR setitimer (2)
|
||||||
share the same timer; calls to one will interfere with use of the
|
share the same timer; calls to one will interfere with use of the
|
||||||
other.
|
other.
|
||||||
|
|
||||||
|
Alarms created by
|
||||||
|
.BR alarm()
|
||||||
|
are preserved across
|
||||||
|
.BR execve (2)
|
||||||
|
not are not inherited by children created via
|
||||||
|
.BR fork (2).
|
||||||
.PP
|
.PP
|
||||||
.BR sleep (3)
|
.BR sleep (3)
|
||||||
may be implemented using
|
may be implemented using
|
||||||
|
|
Loading…
Reference in New Issue