Skip to content

Implement POSIX alarm

The current implementation of alarm() is based on setitimer(), but setitimer is obsolete and not implemented.

Alarm should be implemented according to the POSIX specification. https://pubs.opengroup.org/onlinepubs/9799919799/functions/alarm.html