As I understand the man (2) page for fcntl, the line fcntl(d,F_SETFL,FNDELAY) is supposed to make a "read" call on the file descriptor d and return a -1 if you're at the EOF of d. The results are that it returns a 0. Is there a fix for this? Thank you, Cammie Howard cammie%oravax.uucp at cu-arpa.cs.cornell.edu