]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/ualarm.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / gen / FreeBSD / ualarm.3.patch
CommitLineData
1f2f436a
A
1--- ualarm.3.orig 2009-11-07 14:51:38.000000000 -0800
2+++ ualarm.3 2009-11-07 14:51:40.000000000 -0800
3@@ -39,7 +39,10 @@
224c7076
A
4 .Sh SYNOPSIS
5 .In unistd.h
6 .Ft useconds_t
7-.Fn ualarm "useconds_t microseconds" "useconds_t interval"
8+.Fo ualarm
9+.Fa "useconds_t useconds"
10+.Fa "useconds_t interval"
11+.Fc
12 .Sh DESCRIPTION
13 .Bf -symbolic
14 This is a simplified interface to
1f2f436a 15@@ -50,7 +53,7 @@ The
224c7076
A
16 .Fn ualarm
17 function
18 waits a count of
19-.Fa microseconds
20+.Fa useconds
21 before asserting the terminating signal
22 .Dv SIGALRM .
23 System activity or time used in processing the call may cause a slight
1f2f436a 24@@ -63,17 +66,17 @@ argument is non-zero, the
224c7076
A
25 signal will be sent
26 to the process every
27 .Fa interval
28-microseconds after the timer expires (e.g.\& after
29-.Fa microseconds
30+microseconds after the timer expires (e.g., after
31+.Fa useconds
32 number of microseconds have passed).
33 .Pp
34-Due to
35+Due to a
36 .Xr setitimer 2
37-restriction the maximum number of
38-.Fa microseconds
39+restriction, the maximum number of
40+.Fa useconds
41 and
42 .Fa interval
43-is limited to 100000000000000
44+is limited to 100,000,000,000,000
45 (in case this value fits in the unsigned integer).
46 .Sh RETURN VALUES
47 When the signal has successfully been caught,