epoll/kqueue are replacements for their deprecated counterparts poll and select.Neither poll nor select are deprecated. They're just not good fits for particular use patterns. But even select() is fine if you just need to watch 2 FDs in a CLI tool.In fact, due to its footguns,