X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstdio.h;h=b9a02249a717be07a28dd09fffdd9dd8c667de10;hp=014052bda5f4451883f586f8c2e530248f67b00b;hb=71712a8bb92d6a10218e3356c6d26554dc2633dd;hpb=e34c756b945fd7970875fd42e81e636fe5dbd247 diff --git a/includes/stdio.h b/includes/stdio.h index 014052b..b9a0224 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -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 );