mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 23:45:27 +08:00
15 lines
264 B
C
15 lines
264 B
C
|
#include "libioP.h"
|
||
|
#include "stdio.h"
|
||
|
|
||
|
FILE*
|
||
|
freopen(filename, mode, fp)
|
||
|
const char* filename;
|
||
|
const char* mode;
|
||
|
FILE* fp;
|
||
|
{
|
||
|
CHECK_FILE(fp, NULL);
|
||
|
if (!(fp->_flags & _IO_IS_FILEBUF))
|
||
|
return NULL;
|
||
|
return _IO_freopen(filename, mode, fp);
|
||
|
}
|