Comment by supermatt
4 years ago
> OSX defines _POSIX_SYNCHRONIZED_IO though, doesn't it?
Nope: https://opensource.apple.com/source/Libc/Libc-1439.40.11/inc...
4 years ago
> OSX defines _POSIX_SYNCHRONIZED_IO though, doesn't it?
Nope: https://opensource.apple.com/source/Libc/Libc-1439.40.11/inc...
> #define _POSIX_SYNCHRONIZED_IO (-1) /* [SIO] */
ok - its "defined" as not supported. Im not sure i understand your point.
Oh sorry you're right... Too much C, not enough POSIX.
Okay, so OSX is right by the letter of the standard. Not by the spirit though, when you look at the rationale for allowing the exception.
3 replies →