From 0db324e2e5d9d3347ea0e93138372fb65aac09e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:09 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/alarm.2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'man2/alarm.2') diff --git a/man2/alarm.2 b/man2/alarm.2 index cae0890..18a93ad 100644 --- a/man2/alarm.2 +++ b/man2/alarm.2 @@ -7,7 +7,7 @@ .\" Modified Sun Jul 21 21:25:26 1996 by Andries Brouwer .\" Modified Wed Nov 6 03:46:05 1996 by Eric S. Raymond .\" -.TH alarm 2 2023-03-30 "Linux man-pages 6.05.01" +.TH alarm 2 2023-10-31 "Linux man-pages 6.7" .SH NAME alarm \- set an alarm clock for delivery of a signal .SH LIBRARY @@ -16,7 +16,7 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "unsigned int alarm(unsigned int " seconds ); .fi .SH DESCRIPTION @@ -26,11 +26,11 @@ arranges for a signal to be delivered to the calling process in .I seconds seconds. -.PP +.P If .I seconds is zero, any pending alarm is canceled. -.PP +.P In any event any previously set .BR alarm () is canceled. @@ -49,14 +49,14 @@ and .BR setitimer (2) share the same timer; calls to one will interfere with use of the other. -.PP +.P Alarms created by .BR alarm () are preserved across .BR execve (2) and are not inherited by children created via .BR fork (2). -.PP +.P .BR sleep (3) may be implemented using .BR SIGALRM ; @@ -65,7 +65,7 @@ mixing calls to and .BR sleep (3) is a bad idea. -.PP +.P Scheduling delays can, as ever, cause the execution of the process to be delayed by an arbitrary amount of time. .SH SEE ALSO -- cgit v1.2.3