public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Martin Wege <martin.l.wege@gmail.com>
To: cygwin@cygwin.com
Subject: Re: openat(O_DIRECT) supported in Cygwin?
Date: Sun, 3 Mar 2024 14:33:33 +0100	[thread overview]
Message-ID: <CANH4o6Op70xSwrXM-s_D39cg7Kyz4pKr419fHcbtW6bJh2ft3Q@mail.gmail.com> (raw)
In-Reply-To: <Zd7304EL1bn9dlKz@calimero.vinschen.de>

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

      reply	other threads:[~2024-03-03 13:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 16:46 Martin Wege
2024-02-28  9:07 ` Corinna Vinschen
2024-03-03 13:33   ` Martin Wege [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANH4o6Op70xSwrXM-s_D39cg7Kyz4pKr419fHcbtW6bJh2ft3Q@mail.gmail.com \
    --to=martin.l.wege@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).