[sane-devel] SCSI problems with avision backend

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 13 Apr 2002 21:01:53 +0200


Hi,

On Sat, Apr 13, 2002 at 10:15:42AM -0400, Douglas Gilbert wrote:
> >Does this work with the other operating systems also. Or to be more
> >exact, O_NONBLOCK compiles everywhere? The man page suggests that it's
> >not Linux-specific.
> 
> That is a difficult one to answer. Device drivers tend to
> interpret O_RDONLY, O_EXCL and O_NONBLOCK (etc) in a way
> that is appropriate for those drivers and what is permitted
> by the kernel architecture. The standards pin down those flags'
> behaviour for normal files, pipes, etc.

Ok, to be sure, I have only enabled O_NONBLOCK for USE ==
LINUX_INTERFACE.

If someone want to enable this for his operating system, go on.

Bye,
  Henning