Hacker News new | ask | show | jobs
by aumerle 1418 days ago
Write your program around an event loop which if its an interactive program it already has. And read man signalfd.