Strange SUN behaviour.
Walter Rowe
rowe at cme.nist.gov
Mon Oct 23 23:34:52 AEST 1989
--------------------------------------------------------
I tried replying directly, but it got sent back to me...
--------------------------------------------------------
Here is another possibility for you:
ioctl (fd, FIONREAD, &nchar)
int fd;
int nchar;
The value returned in `nchar' is the number of characters waiting to
be read from file descriptor `fd'.
---
Walter Rowe, Sun Sys Admin
Robot Systems Division, NIST
rowe at cme.nist.gov
More information about the Comp.unix.wizards
mailing list