alarm
(2)set an alarm clock for delivery of a signal
#include <unistd.h> unsigned int alarm(unsigned int seconds);
LIBRARY
DESCRIPTION
RETURN VALUE
STANDARDS
HISTORY
NOTES
alarm() and setitimer(2) share the same timer; calls to one will interfere with use of the other.
Alarms created by alarm() are preserved across execve(2) and are not inherited by children created via fork(2).
sleep(3) may be implemented using SIGALRM; mixing calls to alarm() and sleep(3) is a bad idea.
Scheduling delays can, as ever, cause the execution of the process to be delayed by an arbitrary amount of time.