You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though this may appear convenient at first, I'm very sceptical about making unix into an emulation layer. I'd rather have unix's goal be focusing on providing API bindings for system calls provided by the underlying OS, unless there's a generic and portable fallback implementation possible that accurately implements the required semantics.
I'm strongly against starting to clutter the code with all sorts of #if darwin_HOST_OS conditionals, as this violates Autoconf's philosophy of checking for features rather than os/versions.
fdatasync()
is not supported (as such) on OS X. An alternative usingfcntl()
is detailed in a picoc issue.We should provide the
fcntl()
-based alternative on OS X (and presumably iOS).The text was updated successfully, but these errors were encountered: