Re: kbhit() MSDOS equivalent in Linux

1998-03-27 Thread Mike Brownlow
Mario Olimpio de Menezes wrote: > > Hi, > > I received a message from two students about the kbhit() C MSDOS > function equivalent in Linux. I'm not a good C programmer and could not > help them. If somebody can, please. > Thanks, and sorry for the little off-topic Debian. Here y

Re: kbhit() MSDOS equivalent in Linux

1998-03-27 Thread Nicolás Lichtmaier
> Our protocol suport, theorically yet, half duplex and we use the serial > and parallel ports. Because other caracteristcs, we need something like > kbhit function defined in conio.h of C for MSDOS. This function is like a > keypressed and we are looking for something like that because we must > e

Re: kbhit() MSDOS equivalent in Linux

1998-03-26 Thread Jens B. Jorgensen
I don't do people's homework for them but... Well there isn't a direct equivalent because in unix when you have a "terminal" session that generally means you have a "tty" devices as stdin/stdout/stderr. And, this tty device buffers input as well as things like generating signals to your process

kbhit() MSDOS equivalent in Linux

1998-03-26 Thread Mario Olimpio de Menezes
Hi, I received a message from two students about the kbhit() C MSDOS function equivalent in Linux. I'm not a good C programmer and could not help them. If somebody can, please. Thanks, and sorry for the little off-topic Debian. []s Mario O.de Menezes"Many are the plan