Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!unmvax!unmvax.cs.unm.edu!mike From: mike@turing.cs.unm.edu (Michael I. Bushnell) Newsgroups: comp.unix.wizards Subject: Re: exceptfds in select(2) Message-ID: Date: 23 Mar 90 17:58:40 GMT References: <100785@convex.convex.com> Sender: news@unmvax.cs.unm.edu (The News service) Reply-To: mike@unmvax.cs.unm.edu Distribution: comp Organization: University of No Money, Albuquerque, New Mexico Lines: 15 In-Reply-To: garzione@convex.com's message of 22 Mar 90 16:55:00 GMT The execptfds argument in 4.3BSD is only used to indicate that Out of Band data is available for reception. In particular, end of file (and loss of the channel, which is a special case of EOF) is reported as availability for reading, and zero bytes will be read, indicating EOF. -mib PS: In fact, that's all it was originally intended to do, anyway. -- Michael I. Bushnell \ This above all; to thine own self be true LIBERTE, EGALITE, FRATERNITE \ And it must follow, as the night the day, mike@unmvax.cs.unm.edu /\ Thou canst not be false to any man. CARPE DIEM / \ Farewell: my blessing season this in thee!