Keyboard Interrupt

how to use Keyboard Interrupt in C? (like kbhit() in DOS)