<div dir="ltr"><a href="https://github.com/erlang/otp/pull/137">https://github.com/erlang/otp/pull/137</a><br><div><br></div><div><div>This pull request adds an o_sync option to file:open/2. The o_sync option adds the POSIX O_SYNC flag to the open system call on platforms that support the flag or its equivalent, e.g., FILE_FLAG_WRITE_THROUGH on Windows. For platforms that don't support it, file:open/2 returns {error, enotsup} if the o_sync option is passed in.</div>
</div><div><br></div><div>Joe Blomstedt (jtuple) wrote most of this patch, I just dotted the Ts, crossed the Is, and submitted it.</div><div><br></div><div>--steve</div></div>