Hello,
unfortunately, I found no `[Kk]bd*` functions in the header files of various GCC distributions.
Yes, I came across the Watcom OS/2 port.
I hoped that at least the i286 assembler code I found on the Watcom source distribution site could be compiled, but failed. Also, the Watcom licence somehow does not fit to the MIT licence, but I should check this again.
There is also a kbhit clone in the sources of the Harbour 3.0 language, but found them quite difficult to try.
Alex