X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=2619eea9388ffd233b9c6e3fa309f0f06039c52d;hb=c8f799d852e3698468a78954d82588e841cc0b70;hp=23c12e01946c94eba1156a18f662b58822c09c08;hpb=dcc8a8e99f69e090a03b7b868443addbc0817820;p=pdclib.old diff --git a/functions/stdio/freopen.c b/functions/stdio/freopen.c index 23c12e0..2619eea 100644 --- a/functions/stdio/freopen.c +++ b/functions/stdio/freopen.c @@ -1,8 +1,15 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ FILE * freopen( const char * restrict filename, const char * restrict mode, FILE * stream ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + fclose(stream); + return (fopen(filename, mode)); +} +*/