Synopsis
#include <cross_studio_io.h>
DEBUG_FILE *debug_fopen(const char *filename, const char *mode);
Description

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 ?b? to specify if carriage return, linefeed combinations are translated into newline characters e.g. ?rt?, ?a+b?.

Portability

debug_fopen is an extension provided by CrossWorks C.