FIONREAD

Bruce Robertson bruce at heather.pooh.com
Wed Mar 27 06:45:02 AEST 1991


In article <69819 at brunix.UUCP> cgy at cs.brown.edu (Curtis Yarvin) writes:

>   What is the most elegant way of duplicating Sun's FIONREAD ioctl, which
>   gets the number of bytes readable from a descriptor, on 4.3BSD systems?

How about just using it?  4.3BSD implements the FIONREAD ioctl.

--
Bruce Robertson		bruce at pooh.com			Phone: (702) 329-9333
Hundred Acre		1280 Terminal Way, Suite 26	Reno, NV 89502-3243



More information about the Comp.unix.wizards mailing list