Unbuffered char reads from App from stdin (keyboard)

Wolfgang Denk wd at denx.de
Sat Feb 16 02:31:20 EST 2002


In message <01C1B608.E92871A0.svacca at valcom.com> you wrote:
>
> App and Linux kernel 2.2.13 running on mpc860T.
>
> I would like to know the best way, from inside my GNU C App,
> to sense if there's a keyboard key pressed.  Something

man select

man termios (search for VMIN and VTIME)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ Embedded Systems Nuremberg, Feb 19-21, Hall 12 K01 (with TQ)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list