🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1081

fcntl does not perform as stated in man page

#1081
From: Cammie Howard
Date: Tue, 19 Jul 1988 13:37
16 lines
671 bytes
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@cu-arpa.cs.cornell.edu
Technical Details
Message-ID: <405@oravax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!cornell!oravax!cammie

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!cornell!oravax!cammie
From: cammie@oravax.UUCP (Cammie Howard)
Newsgroups: comp.bugs.4bsd
Subject: fcntl does not perform as stated in man page
Keywords: fcntl F_SETFL
Message-ID: <405@oravax.UUCP>
Date: 19 Jul 88 13:37:31 GMT
Organization: Odyssey Research Ass., Ithaca NY
Lines: 16