Don Lewis wrote: > Actually, something seems broken. I modified my little test program to > actually read the data, which works just fine, but select() still blocks > when the writer closes the fifo, so there doesn't seem to be a way to > detect the EOF. I think this should be covered under the "exceptional event" and "read" select flags (a subsequent read will return 0). Also, you should remember that qmail opens the thing with non-blocking I/O, and then expects the select to block. Very odd program, qmail. -- TerryReceived on Mon Jun 16 2003 - 02:38:54 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC