3 ms·
Maybe it was written as a parody and we just don't get the joke? (Not POSIX, the article. POSIX survives fine outside of UNIX in embedded systems and somewhat o
by cvccvroomvroom 4y ago
Maybe it was written as a parody and we just don't get the joke? (Not POSIX, the article. POSIX survives fine outside of UNIX in embedded systems and somewhat on Mac OS and Windows.)
- olliej 4y agomacOS at least is definitely posix compliant - not just somewhat. It was a big part of what was needed for xserves to be competitive (alas being shiny and aluminium was not :) ). While xserves have died, macOS remains entirely posix compliant - complete with the horrific %n format specifier (although an environment variable is needed for it to be respected in non read only format strings iirc)
- deleted 4y ago[deleted]
- kevin_thibedeau 4y ago%n isn't from POSIX. It has always been taken from the ANSI draft.
- amiga386 4y agoIt'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.
- saagarjha 4y agoThere are no environment variables to disable this behavior.
- bregma 4y agoMac OS is not at this time a POSIX operating system [0]. [0] http://get.posixcertified.ieee.org/register.html http://get.posixcertified.ieee.org/register.html