MicrOS
|
#include "../stdio.h"
Functions | |
FILE * | streams_set_stream_as_file (const char *, const char *, FILE *) |
FILE * | freopen (const char *filename, const char *mode, FILE *stream) |
Reopen stream with different file or mode. More... | |
Reopen stream with different file or mode.
Reuses stream to either open the file specified by filename or to change its access mode. If filename is a null pointer, the function attempts to change the mode of the stream.
filename | C string containing the name of the file to be opened. |
mode | C string containing a file access mode (r, w, a, r+, w+, a+). |
stream | Pointer to a FILE object that identifies the stream to be reopened. |