libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBS


From: Steven M. Schultz
Subject: Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?
Date: Sun, 8 May 2005 09:43:59 -0700 (PDT)

On Sun, 8 May 2005, R. Bernstein wrote:

> Heiner suggested open(psz_device, O_RDONLY) and I notice on GNU/Linux
> the flags are O_RDONLY|NONBLOCK. If I have this correctly, Burkhard

        Should that be O_NONBLOCK rather than simply NONBLOCK?

> Anyone have comments, suggestions, thoughts? Anyone want to venture
> what might be correct for FreeBSD, Solaris (BSDI, etc)?

        BSDI uses "O_RDONLY | O_NONBLOCK".

        Cheers,
        Steven Schultz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]