#include <unistd.h>
unsigned int ualarm(unsigned int usecs,
unsigned int interval);
ualarm() sends signal SIGALRM (see signal(3C) ), to the caller in a number of microseconds given by the usecs argument. Unless caught or ignored, the signal terminates the caller.
If the interval argument is non-zero, the SIGALRM signal will be sent to the caller every interval microseconds after the timer expires (for instance, after usecs microseconds have passed).
Because of scheduling delays, resumption of execution when the signal is caught may be delayed an arbitrary amount.
Interactions between ualarm() and either alarm(2) or sleep(3C) are unspecified.