a pathname in the GLib file name encoding (UTF-8 on Windows)
a string describing the mode in which the file should be opened
an existing stream which will be reused, or NULL. [allow-none]
A FILE pointer if the file was successfully opened, or NULL if an error occurred.
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(). Since 2.6