Am I the only one without FIONREAD?
Brian Litzinger
brian at apt.UUCP
Sun Jun 25 18:21:10 AEST 1989
I'm working on some software which could really take advantage
of an ioctl that exists on almost every machine I've every
worked on except this one.
The function is FIONREAD which is ioctl(fd,FIONREAD,arg) on the
ultrix machine I have access to, and _IOR(fd,127,arg) on this
Sun system here, but I doesn't seem to exist in any form on the
386 machine sitting here.
When the FIONREAD ioctl is used on a file or stream it returns
in arg the number of bytes which are immediately available to
be read.
The 386 machines here run either Microport or Interactive 386 Unix,
and include Interlan or Lachman TCP/IP support.
Did uport & ISC simply forget the '#define FIONREAD ...' or did
they forget to implement it in their drivers. Or does System V.3.2
for the 386 have some other method for doing this. Help!
<> Brian Litzinger @ APT Technology Inc., San Jose, CA
<> UUCP: {apple,sun,pyramid}!daver!apt!brian brian at apt.UUCP
<> VOICE: 408 370 9077 FAX: 408 370 9291
More information about the Comp.unix.questions
mailing list