Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!brunix!cgy From: cgy@cs.brown.edu (Curtis Yarvin) Newsgroups: comp.unix.wizards Subject: FIONREAD Message-ID: <69819@brunix.UUCP> Date: 26 Mar 91 07:29:02 GMT Sender: news@brunix.UUCP Reply-To: cgy@cs.brown.edu (Curtis Yarvin) Organization: Brown University Department of Computer Science Lines: 4 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? Curtis