Closing pty slaves

Chris Torek chris at mimsy.UUCP
Sat Feb 11 22:49:31 AEST 1989


In article <99 at melba.oz> gnb at melba.bby.oz (Gregory N. Bond) writes:
>...  At that point, the select returns with the pty master ready
>for reading, but reading from the descriptor results in EIO. ...
>Why does select return read ready?  It seems to me that if select says
>read is OK, then read should work.

It did work---or at least, it did not block: which is after all what
select is all about.

Some people think this should be an `exception' rather than a `ready'
condition, but it works well enough as is.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list