I need a SysV select()

Doug Gwyn gwyn at brl-smoke.ARPA
Tue May 17 17:28:19 AEST 1988


In article <9738 at sol.ARPA> jpayne at cs.rochester.edu (Jonathan Payne) writes:
>I want to get input
>from either the keyboard or from some other file description.  I don't
>want to sit around polling the two, because that would be ridiculous.

If you set MIN and TIME to 0 in the terminal handler, then an attempt
to read from the terminal with no data available will return immediately.
There is nothing analogous for ordinary files.



More information about the Comp.unix.wizards mailing list