X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=13992deb8214f5fe9f7e7d76584da4a5b1247dc3;hb=5a904c5de1fba7e44ecfe2a140cf6e277d247702;hp=be4b95e85b587d13a9ecd1769f2277ca81a4e78c;hpb=76aab9d24d750a2e639eb878d5907a8bcfab08cf;p=pdclib.old 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 );