Skip to contentSkip to conversation

towards supporting O_NONBLOCK on regular files

RFC PATCH Dan Kegel 1 participant 1 message Oct 5, 2004

lore
Share & tools
lore

Dan Kegel

author
#0 lore raw
Quoted 1 line · Marcelo

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

Signature · 2 lines
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change