hp-ux 7.0/800 select() strangeness?

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Sun Sep 9 20:17:02 AEST 1990


In article <CPH.90Sep9022935 at kleph.ai.mit.edu> cph at zurich.ai.mit.edu (Chris Hanson) writes:
> The real problem here is that the documentation for `select' doesn't
> define what it does.  The documentation defines the results as "ready
> for reading, writing, or has an exceptional condition", but fails to
> say what that means.

That a read or write wouldn't block if the descriptor were blocking.
Exceptional conditions are defined by the device.

Since passing nonblocking descriptors to application programs is a
serious violation of convention, you shouldn't run into problems unless
you're creating them.

---Dan



More information about the Comp.unix.internals mailing list