5 ms·
I remember reading somewhere that poll was just a wrapper for select. I’m guessing that’s either outdated or false now.
by Unklejoe 5y ago
I remember reading somewhere that poll was just a wrapper for select. I’m guessing that’s either outdated or false now.
- cesarb 5y agoIt's correct but outdated: according to https://man7.org/linux/man-pages/man2/poll.2.html#VERSIONS https://man7.org/linux/man-pages/man2/poll.2.html#VERSIONS "The poll() system call was introduced in Linux 2.1.23. On older kernels that lack this system call, the glibc poll() wrapper function provides emulation using select(2)." So as long as you use a Linux kernel made this century, you will be fine.