$RodHat_/search
signal reference

SIGALRM

Timer from alarm(2) or setitimer(2) expired.

Linux number
14
FreeBSD number
14
Default action
Terminate the process
Catch, block or ignore
Allowed
Standard
POSIX.1-1990

One alarm per process, a coarse signal handler, and races with whatever the handler interrupts. For new code, timerfd gives you a descriptor you can put in the same poll loop as everything else.

Related syscalls

  • timerfd_create(2)Linux · Events

    Create a timer that reports expirations through a readable file descriptor.

Sources

  1. signal(7), Linux man-pages
  2. signal(3), FreeBSD manual

Numbers are Linux on x86 and arm64; alpha, mips, sparc and parisc number some signals differently. Spot one that's wrong? Tell Rod.