Re: [patch rfc] towards supporting O_NONBLOCK on regular files

From: Dan Kegel
Date: Tue Oct 05 2004 - 09:14:53 EST


Marcelo wrote:
> Curiosity: Is this defined in any UNIX standard?

No. See
http://www.opengroup.org/onlinepubs/009695399/functions/open.html
which leaves it undefined.

http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-71.html
says implementations have to allow setting O_NONBLOCK even if they
ignore it.

http://www.ussg.iu.edu/hypermail/linux/kernel/9911.3/0530.html
claims other Unixes and NT implement it.

There's a thread that discusses this in a bit of detail, and
suggests that older Solaris might implement it:
http://lists.freebsd.org/pipermail/freebsd-arch/2003-April/000132.html
http://lists.freebsd.org/pipermail/freebsd-arch/2003-April/000134.html

Googling for O_NONBLOCK disk seems to be good. I'd google more
but my baby is calling :-)
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/