2 ms·
It's arguable that macOS is actually POSIX compliant. I was frustrated that poll() simply refused to work on terminal devices in Mac OS X 10.1 and I had to use
by amiga386 4y ago
It's arguable that macOS is actually POSIX compliant. I was frustrated that poll() simply refused to work on terminal devices in Mac OS X 10.1 and I had to use select() instead. And it's still not supported in macOS 13!
Can you claim POSIX compliance while actually not complying, by saying "BUG: currently doesn't comply" for more than 20 years?
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/poll.2.html https://developer.apple.com/library/archive/documentation/Sy...
> BUGS
> The poll() system call currently does not support devices.
https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/p...
> The poll() function shall support regular files, terminal and pseudo-terminal devices, FIFOs, pipes, sockets and STREAMS-based files.