summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-08-14 07:44:57 +0000
committerache <ache@FreeBSD.org>1997-08-14 07:44:57 +0000
commitda5b9d9f1162676a28ce83af04907aee22464dde (patch)
tree8b161e6010561e44623d2e7f626849f2db9cd9c1 /lib
parent26234bbec84fa31216740405aff39dbb9f6e7e41 (diff)
downloadFreeBSD-src-da5b9d9f1162676a28ce83af04907aee22464dde.zip
FreeBSD-src-da5b9d9f1162676a28ce83af04907aee22464dde.tar.gz
Describe upper limit based on itimerfix restriction
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/alarm.310
-rw-r--r--lib/libc/gen/ualarm.311
2 files changed, 17 insertions, 4 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index 4d99fa1..5e47a15 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -60,10 +60,14 @@ will supersede the prior call.
The request
.Fn alarm "0"
voids the current
-alarm and the signal SIGALRM will not be delivered. The maximum number of
+alarm and the signal SIGALRM will not be delivered.
+.Pp
+Due to
+.Xr setitimer 2
+restriction the maximum number of
.Ar seconds
-allowed
-is 2147483647.
+allowed is 100000000.
+.Sh RETURN VALUES
.Pp
The return value of
.Fn alarm
diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3
index 91713b2..bad7e10 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)ualarm.3 8.2 (Berkeley) 4/19/94
-.\" $Id: ualarm.3,v 1.5 1997/02/22 14:58:19 peter Exp $
+.\" $Id: ualarm.3,v 1.6 1997/08/14 06:32:25 ache Exp $
.\"
.Dd April 19, 1994
.Dt UALARM 3
@@ -67,6 +67,15 @@ to the process every
microseconds after the timer expires (e.g. after
.Fa value
microseconds have passed).
+.Pp
+Due to
+.Xr setitimer 2
+restriction the maximum number of
+.Ar microseconds
+and
+.Ar interval
+is limited to 100000000000000
+(in case this value fit in the unsigned integer).
.Sh RETURN VALUES
When the signal has successfully been caught,
.Fn ualarm
OpenPOWER on IntegriCloud