Number of chars in input queue - terminal, keyboard

T. William Wells bill at twwells.com
Wed Jan 10 20:47:41 AEST 1990


In article <1439 at sas.UUCP> jwd at sas.UUCP (John W. DeBoskey) writes:
:    The subject almost says it all. I'm running ISC 1.0.6. I want to
: find out how many characters are available to read from the terminal
: if there are any. ie: avail = in_queue(term_id).

As far as I know, it can't be done without kernel hacking.

---
Bill                    { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com



More information about the Comp.unix.i386 mailing list