#include <__cross_studio_io.h>int debug_fgetc(DEBUG_FILE *stream);
debug_fgetc reads and returns the next character on stream or EOF if no character is available.
debug_fgetc is an extension provided by CrossWorks C.