Is there a function like the idle_loop function?

Previous Input: Keyboard and Link Next

Q: What is the true equivalent for the idle_loop function known from kernels?
A: GKeyIn (NULL, 0) is the most similar equivalent. ngetchx () is not so similar. Both functions are defined in kbd.h. Note that idle defined in system.h is NOT equivalent to idle_loop!