fcntl does not perform as stated in man page

Cammie Howard cammie at oravax.UUCP
Tue Jul 19 23:37:31 AEST 1988


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



More information about the Comp.bugs.4bsd.ucb-fixes mailing list