openat(O_DIRECT) supported in Cygwin?

Martin Wege martin.l.wege@gmail.com
Sun Mar 3 13:33:33 GMT 2024


On Wed, Feb 28, 2024 at 10:08 AM Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Feb 27 17:46, Martin Wege via Cygwin wrote:
> > Hello,
> >
> > Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in
> > Cygwin have, and which underlying Windows API is used?
>
> https://cygwin.com/cgit/newlib-cygwin/tree/winsup/cygwin/fhandler/base.cc#n587

So O_DIRECT will be translated to Win32 FILE_NO_INTERMEDIATE_BUFFERING?

Thanks,
Martin


More information about the Cygwin mailing list