It's there. At least in Solaris 2.4 and 2.5, it is defined in
Russ Poffenberger <poffen@San-Jose.ate.slb.com>
Henry Unger <firstname.lastname@example.org>
Greg Onufer <Greg.Onufer@Eng.Sun.COM>
email@example.com (Michael Sullivan)
> What is the replacement for FIONREAD under Solaris 2.x when I want to read how many characters are available on a serial port or socket?
> Under bsd(Solaris 1.x) I have used :-
> ioctl(fd, FIONREAD, &bytes);
> Where fd is the file descriptor(int) and bytes(int) is the number of characters ready to be read.
Richard Skelton | e-mail : Richard.Skelton@brake.demon.co.uk
WWW : http://www.brake.demon.co.uk/index.html
WWW : http://www.netlink.co.uk/users/brake/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT