select query
Spencer W. Thomas
thomas at utah-gr.UUCP
Thu Jan 31 06:21:25 AEST 1985
In article <7834 at brl-tgr.ARPA> jsol at bbnccv.ARPA writes:
>timeval is declared in sys/time.h.
>
>The problem is: When I call this peice of code, it times out,
>claiming infile has no characters ready to read. Examination of the
>data stream (with a line monitor) indicates that a character is being
>sent to the program, but somehow the program doesn't notice.
If you do not have your terminal line in either CBREAK or RAW mode,
there are NO characters AVAILABLE TO READ until a newline is received.
--
=Spencer
({ihnp4,decvax}!utah-cs!thomas, thomas at utah-cs.ARPA)
<<< Silly quote of the week >>>
More information about the Comp.unix.wizards
mailing list