Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: Closing pty slaves Message-ID: <15909@mimsy.UUCP> Date: 11 Feb 89 12:49:31 GMT References: <99@melba.oz> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 14 In article <99@melba.oz> gnb@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@mimsy.umd.edu Path: uunet!mimsy!chris