mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 18:29:47 +08:00
6599da043e
From-SVN: r14877
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);
|
|
}
|