title: Is it possible to program your own kbhit() in C?
body: <p>I took a class of programming at my university and I am working on some program. I want to know if it is possible to program my own <code>kbhit()</code> function. And if it is possible to look, how <code>kbhit()</code> is coded.</p>
  
  <p>The purpose is that I need to know how functions I use work.</p>