besides the note, should there be a WFIFOL(fd,3) = 0; to ensure there is no leftover? (not sure its a possible scenario though oo, would there be garbage?)