Signal Handling
| Lesson overview |
Lesson overview
Topics covered: signal(), sighandler_t, sigaction, non-blocking I/O.
Signal Handling
signal(sig, handler) - register signal handler
struct sigaction - more complete signal handling
Common signals: SIGINT, SIGTERM, SIGSEGV
Non-blocking I/O and signal-safe functions
Article author: Arthur Isaev