Dear Sir/Madam: Is there a function in gcc to detect a keyboard hit? Windows provides a function _kbhit(). It operates in non-blocking mode, returns 0 until the user hits a key on the keyboard. Does gcc have the similar function to call? Thanks, Sean