Hacker News new | ask | show | jobs
by ynik 1414 days ago
> If at the end of your Ctrl+C signal handler you exit() as expected

exit() is not signal-safe; signal handlers are expected to call quick_exit() or _Exit() instead.