X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdio.h;h=6b562d95bd6b5732730c1adaefcd220c6c0260b9;hb=0fa6394bc70eab55e0e38703a31a3072232c0729;hp=014052bda5f4451883f586f8c2e530248f67b00b;hpb=b189506b1b895940933bdfc5d6d6ae5d0ba65721;p=pdclib diff --git a/includes/stdio.h b/includes/stdio.h index 014052b..6b562d9 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -1,6 +1,6 @@ /* $Id$ */ -/* Input/output +/* 7.19 Input/output This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -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 );