rf@wu1.UUCP (02/10/84)
On UniSoft v7 Unix there is an ioctl call which works this way: int navail; . . . ioctl (fildes, FIONREAD, &navail); This call returns the number of characters which you can read from fildes in navail. When fildes refers to a terminal, this ioctl call returns the number of characters waiting to be read. *** What versions of Unix will this work under? *** Randolph Fritz Western Union Telegraph