X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=8758814b51018404f788a9ddb29b1ab4ac728bbc;hp=23c12e01946c94eba1156a18f662b58822c09c08;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/freopen.c b/functions/stdio/freopen.c index 23c12e0..8758814 100644 --- a/functions/stdio/freopen.c +++ b/functions/stdio/freopen.c @@ -6,3 +6,10 @@ // ---------------------------------------------------------------------------- FILE * freopen( const char * restrict filename, const char * restrict mode, FILE * stream ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + fclose(stream); + return (fopen(filename, mode)); +} +*/