Subject: Re: Sensing a disconnected socket
To: None <current-users@NetBSD.ORG, mouse@Rodents.Montreal.QC.CA>
From: Peter Seebach <>
List: current-users
Date: 06/28/1997 23:44:48
For extra pedant points, stdout may be readable, but it's not required
to be.

There are some very disturbing tricks that depend on the assumption that
stdout and stdin refer to the same device, so you can dup one to get a
servicable approximation of the other.  (That was 1 and 0, not the
C objects.)