#include <__cross_studio_io.h>
DEBUG_FILE *debug_open(const char *filename, const char *mode);
debug_open opens the named file and returns a stream or NULL if the open fails. The mode is a string containing one of:
The mode should then include either "t" or "b" to specify if carriage return, linefeed combinations are translated into newline characters e.g. "rt", "a+b".
debug_open is an extension provided by CrossWorks C.