[comp.lang.c] reading a keystroke without stopping a loop.

mcorbin@oucsace.cs.OHIOU.EDU (Max Corbin) (07/28/90)

Hi! can anyone out there send me some code that will do the following

Inside a loop it wont stop execution and wait for 
someone to enter a letter (such as getc)

Does this in Unix c      

I would like it if this fucntion could works as TurboC or MicrSoftC
command kbhit.

If someone can help me please mail suggestions or code to me since I
don't read this news group reguarly.

-- 
mcorbin@oucsace.cs.ohiou.edu		   +-----+---\ +-----+
CS559@ouaccvmb.bitnet			   | | | | -- >|  ---+
"Flat possums never DIE!" -RoADkIll 	   +-+-+-+---/ +-----+