[Top][All Lists]
[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: |
R. Bernstein |
Subject: |
Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)? |
Date: |
Sun, 8 May 2005 16:54:40 -0400 |
Steven M. Schultz writes:
> Should that be O_NONBLOCK rather than simply NONBLOCK?
Yep O_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".
So line 218 of lib/driver/bsdi.c should become
p_env->gen.fd = open (p_env->gen.source_name, O_RDONLY|O_NONBLOCK, 0);
?
Right now there is only O_RDONLY.
- [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?, R. Bernstein, 2005/05/08
- Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?, Steven M. Schultz, 2005/05/08
- Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?,
R. Bernstein <=
- Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?, Steven M. Schultz, 2005/05/08
- [Libcdio-devel] CDtext charset, Burkhard Plaum, 2005/05/09
- [Libcdio-devel] CDtext charset, R. Bernstein, 2005/05/09
- Re: [Libcdio-devel] CDtext charset, Burkhard Plaum, 2005/05/10
- Re: [Libcdio-devel] CDtext charset, R. Bernstein, 2005/05/10
- Re: [Libcdio-devel] CDtext charset, Burkhard Plaum, 2005/05/12
- Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?, Burkhard Plaum, 2005/05/09
- Re: [Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)?, R. Bernstein, 2005/05/09