X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;fp=functions%2Fstdio%2Ffreopen.c;h=13992deb8214f5fe9f7e7d76584da4a5b1247dc3;hb=f2dbc6a41d71a685ce2a69e83eaa5172fff5066a;hp=be4b95e85b587d13a9ecd1769f2277ca81a4e78c;hpb=e5112b619d1aae8ffc439389cfcbd3b2b4bd2454;p=pdclib diff --git a/functions/stdio/freopen.c b/functions/stdio/freopen.c index be4b95e..13992de 100644 --- a/functions/stdio/freopen.c +++ b/functions/stdio/freopen.c @@ -25,6 +25,7 @@ struct _PDCLIB_file_t * freopen( const char * _PDCLIB_restrict filename, const c { /* FIXME: This is ad-hoc (to make the vprintf() testdriver work), and must be checked. */ /* FIXME: If filename is NULL, change mode. */ + /* TODO: This function can change wide orientation of a stream */ if ( filename == NULL ) return NULL; if ( stream->status & _PDCLIB_WROTELAST ) fflush( stream ); if ( stream->status & _PDCLIB_LIBBUFFER ) free( stream->buffer );