X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58:/gen/FreeBSD/ualarm.3?ds=inline diff --git a/gen/FreeBSD/ualarm.3 b/gen/FreeBSD/ualarm.3 index 0f4774f..4b02cd9 100644 --- a/gen/FreeBSD/ualarm.3 +++ b/gen/FreeBSD/ualarm.3 @@ -9,10 +9,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -30,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)ualarm.3 8.2 (Berkeley) 4/19/94 -.\" $FreeBSD: src/lib/libc/gen/ualarm.3,v 1.15 2001/10/01 16:08:51 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/ualarm.3,v 1.20 2007/01/09 00:27:56 imp Exp $ .\" .Dd April 19, 1994 .Dt UALARM 3 @@ -42,8 +38,8 @@ .Lb libc .Sh SYNOPSIS .In unistd.h -.Ft u_int -.Fn ualarm "u_int microseconds" "u_int interval" +.Ft useconds_t +.Fn ualarm "useconds_t microseconds" "useconds_t interval" .Sh DESCRIPTION .Bf -symbolic This is a simplified interface to @@ -54,7 +50,7 @@ The .Fn ualarm function waits a count of -.Ar microseconds +.Fa microseconds before asserting the terminating signal .Dv SIGALRM . System activity or time used in processing the call may cause a slight @@ -67,18 +63,18 @@ argument is non-zero, the signal will be sent to the process every .Fa interval -microseconds after the timer expires (e.g. after -.Fa value -microseconds have passed). +microseconds after the timer expires (e.g.\& after +.Fa microseconds +number of microseconds have passed). .Pp Due to .Xr setitimer 2 restriction the maximum number of -.Ar microseconds +.Fa microseconds and -.Ar interval +.Fa interval is limited to 100000000000000 -(in case this value fit in the unsigned integer). +(in case this value fits in the unsigned integer). .Sh RETURN VALUES When the signal has successfully been caught, .Fn ualarm