an error occurred.
freopen
fn
void * freopen(string filename, string mode, void * stream = null)A wrapper for the POSIX freopen() function. The freopen() function opens a file and associates it with an existing stream.
See your C library manual for more details about freopen().
Parameters
filename | a pathname in the GLib file name encoding (UTF-8 on Windows) |
mode | a string describing the mode in which the file should be opened |
stream | an existing stream which will be reused, or null |
Returns
A FILE* if the file was successfully opened, or null if