[erlang-patches] add o_sync option to file:open/2

Lukas Larsson lukas@REDACTED
Fri Nov 29 10:57:55 CET 2013


Hello,

I've just merged this into master so it will be part of the next major 
release. Thank you for your contribution.

Lukas

On 12/11/13 23:39, Steve Vinoski wrote:
> https://github.com/erlang/otp/pull/137
>
> 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.
>
> Joe Blomstedt (jtuple) wrote most of this patch, I just dotted the Ts, 
> crossed the Is, and submitted it.
>
> --steve
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20131129/b86a65ed/attachment.htm>


More information about the erlang-patches mailing list