Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!news.mathworks.com!news2.near.net!news3.near.net!noc.near.net!shore.shore.net!rwwa.com!witr From: witr@rwwa.com (Robert Withrow) Newsgroups: comp.unix.bsd Subject: Re: Why select() returns ``exceptional'' for files? Date: 21 Jan 1995 16:14:51 GMT Organization: R.W. Withrow Associates Lines: 12 Message-ID: <3frbtr$9kq@shore.shore.net> References: <3fois1$5d5@shore.shore.net> <3fpssn$2gk@nova.netapp.com> NNTP-Posting-Host: rwwa.com In article <3fpssn$2gk@nova.netapp.com>, guy@netapp.com (Guy Harris) writes: |> Right now, I don't know that anybody's come up with an interesting |> definition for an "exceptional condition" on a file descriptor referring |> to a plain file. Well... Usually an ``exceptional condition'' means something bad happened. It complicates things when you have to take special actions based on the kind of thing you are select()ing on. This means that one must know what kind of fd you have before you decide to put it in the exceptions bit vector. I think that stinks, but what do I know...