kbhit typically takes no arguments and returns either 0 if there are no keyboard events in the queue and non-zero if there are. You might use it like this:
#include <stdio.h>
#include <conio.h>
int main ( void )
{
int last_key;
while ( !kbhit() )
; /* Do nothing */
last_key = getch();
cprintf ( "Last key pressed: %c\n", last_key );
return 0;
}