getc help needed

SATAM at ecs.umass.edu SATAM at ecs.umass.edu
Sun Oct 1 04:49:26 AEST 1989


Read without wait.
 you can try read with NO_DELAY flag. the exact constant
is given in <fcntl.h>.
The read call will return -1 if there is no character in the
buffer. Also take care to open the port in raw mode. Otherwise,
the mysterious four character buffering will be a headache.

- K G Satam 
email "satam at ecs.umass.edu"



More information about the Comp.unix.xenix mailing list