[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (S
From: |
R. Bernstein |
Subject: |
[Libcdio-devel] open(x, O_RDONLY|O_NONBLOCK) vs. O_RDONLY) on FreeBSD (Solaris, GNU/Linux)? |
Date: |
Sun, 8 May 2005 06:27:05 -0400 |
Heiner just noticed an omission in the FreeBSD initialization code
where I was missing some open flags on the file descriptor that is
used internally.
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
Plaum suggests that this would be preferred -- well at least it works
better for an empty CD-ROM where one wants to open the tray.
Anyone have comments, suggestions, thoughts? Anyone want to venture
what might be correct for FreeBSD, Solaris (BSDI, etc)?
Thanks.
- [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
- Re: [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
- [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