Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!heather!heather!bruce From: bruce@heather.pooh.com (Bruce Robertson) Newsgroups: comp.unix.wizards Subject: Re: FIONREAD Message-ID: Date: 26 Mar 91 20:45:02 GMT References: <69819@brunix.UUCP> Sender: news@pooh.com (Net News) Organization: Hundred Acre Software, Reno, NV Lines: 10 In-Reply-To: cgy@cs.brown.edu's message of 26 Mar 91 07:29:02 GMT In article <69819@brunix.UUCP> cgy@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@pooh.com Phone: (702) 329-9333 Hundred Acre 1280 Terminal Way, Suite 26 Reno, NV 89502-3243