On 22.03.2012 20:23, Dave Mielke wrote:
Can one wait on a serial device for available input, or, at least, test if
input is available without actually reading it?
Yes. Actually contrary to what I said serial is async, I was thinking
about some related code.
int grub_serial_port_fetch (struct grub_serial_port *port);
returns either a character in range 0..255 or -1 if none available.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty