Skip to content
UPEEC

Signals in C

OS notifications sent to a process (SIGINT, SIGTERM, SIGSEGV), handled with `signal`/`sigaction`.

Intermediate
Comments 0

Use a flag set by the handler and checked in the main loop for clean shutdown.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.