Signals
Concepts
- Signal handlers (
sighand_struct
)
Signals
SIGCHLD
Child process terminated, stopped or continued.
SIGCONT
Continue.
SIGHUP
Hangup.
SIGINT
Terminal interrupt signal.
SIGWINCH
Terminal window size changed.
SIGUSR1
User-defined signal 1.
SIGUSR2
User-defined signal 2.
SIGKILL
Immediately terminate a process. Cannot be caught or ignored, and the receiving process isn't able to perform any cleanup.
Exceptions:
- Zombies can't be killed, since they're already dead. The parent must reap them.
- Blocked processes won't die until they next wake up.
SIGTERM
Request process termination. Can be caught and interpreted or ignored by the receiving process, allowing for graceful termination.
SIGPWR
Power failure.
References
Backlinks