public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* openat(O_DIRECT) supported in Cygwin?
@ 2024-02-27 16:46 Martin Wege
  2024-02-28  9:07 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Wege @ 2024-02-27 16:46 UTC (permalink / raw)
  To: cygwin

Hello,

Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in
Cygwin have, and which underlying Windows API is used?

Thanks,
Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openat(O_DIRECT) supported in Cygwin?
  2024-02-27 16:46 openat(O_DIRECT) supported in Cygwin? Martin Wege
@ 2024-02-28  9:07 ` Corinna Vinschen
  2024-03-03 13:33   ` Martin Wege
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2024-02-28  9:07 UTC (permalink / raw)
  To: cygwin

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


Corinna

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openat(O_DIRECT) supported in Cygwin?
  2024-02-28  9:07 ` Corinna Vinschen
@ 2024-03-03 13:33   ` Martin Wege
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Wege @ 2024-03-03 13:33 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-03 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 16:46 openat(O_DIRECT) supported in Cygwin? Martin Wege
2024-02-28  9:07 ` Corinna Vinschen
2024-03-03 13:33   ` Martin Wege

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).