pat@sri-unix (05/28/82)
It was incorrectly asserted that the only way to determine whether a pipe was empty was to read it, that there was no way to time out the read or even terminate it. None of these is true. The number of characters in a pipe can be determined by fstat(II), alarm(II) can be used to time out the pipe, and any interrupt will terminate the read from the pipe. Patrick Powers Megatest