Mailing List Archive

Support open source code!


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

Re: tlug: more on CDROM drivers..



Chris Sekiya <chris@example.com> wrote:
> > According to the ioctl manpage, -EPERM isn't valid, and it should
> > return nothing but -EBADF, -ENOTTY, or -EINVAL.  Very strange.
> 
> Not really.  That particular man page was filched from a 1993 BSD source.
> The kernel source is usually considered to be 'more correct' when things
> like this crop up.

In such cases I consider the Single UNIX Specification 
http://www.opengroup.org/onlinepubs/7908799/ as quite authoritative.
In THIS case, unfortunately, it is useless. The behaviour of ioctl() for
non-STREAMS devices is unspecified :-(

-Klaus
----------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 *** place TBA ***
IMPORTANT: TLUG is looking for a venue for the next meeting
if you could host in your university or office, please contact us
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links