#include <cross_studio_io.h> DEBUG_FILE *debug_fopen(const char *filename, const char *mode);
debug_fopen 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 “strong/strong” to specify if carriage return, linefeed combinations are translated into newline characters e.g. “rt”, “a+b”.
debug_fopen is an extension provided by CrossWorks C.