Hacker News new | ask | show | jobs
by andreyv 2575 days ago
Indeed, "volatile sig_atomic_t" is the recommended official C way to change a flag from a signal handler.