.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)@(#)ualarm.3 6.4 (Berkeley) %G%
ualarm \- schedule signal after specified time
.B unsigned ualarm(value, interval)
This is a simplified interface to setitimer(2).
causes signal SIGALRM, see
to be sent to the invoking process
in a number of microseconds given by the
Unless caught or ignored, the signal terminates the process.
argument is non-zero, the SIGALRM signal will be sent
microseconds after the timer expires (e.g. after
microseconds have passed).
Because of scheduling delays,
resumption of execution of when the signal is
caught may be delayed an arbitrary amount.
The longest specifiable delay time (on the vax) is 2147483647 microseconds.
The return value is the amount of time previously remaining in the alarm clock.
getitimer(2), setitimer(2), sigpause(2), sigvec(2), signal(3C), sleep(3),