#include <cross_studio_io.h> int debug_getchar(void);
debug_getchar prompts the user for character input and returns the character supplied or a negative value if no character is available.
debug_getchar is an extension provided by CrossWorks C.