← Back to context

Comment by throwawaylinux

4 years ago

> #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.

    • No problem - sorry if i came off harsh, i thought you were being pedantic :D

      TBH, im not so sure its that different. Scanning through the linux docs it seems that this behaviour can be configured as part of mount options (e.g. barrier on ext4). At least its explicit on macOS (with compliant hardware).

      2 replies →