Hacker News new | ask | show | jobs
by stass 4092 days ago
You can use kqueue/kevent to poll on a file. That's what tail(1) and other system utilities are using.