]> pd.if.org Git - pdclib.old/blobdiff - includes/stdio.h
Fixed broken filename handling in freopen().
[pdclib.old] / includes / stdio.h
index 014052bda5f4451883f586f8c2e530248f67b00b..b9a02249a717be07a28dd09fffdd9dd8c667de10 100644 (file)
@@ -162,7 +162,9 @@ FILE * fopen( const char * _PDCLIB_restrict filename, const char * _PDCLIB_restr
    identified by the given filename with the given mode (equivalent to fopen()),
    and associate it with the given stream. If filename is a NULL pointer,
    attempt to change the mode of the given stream.
-   This implementation allows the following mode changes: TODO
+   This implementation allows any mode changes on "real" files, and associating
+   of the standard streams with files. It does *not* support mode changes on
+   standard streams.
    (Primary use of this function is to redirect stdin, stdout, and stderr.)
 */
 FILE * freopen( const char * _PDCLIB_restrict filename, const char * _PDCLIB_restrict mode, FILE * _PDCLIB_restrict stream );