blob: da3dc1d64118bf4cec690396e67c65ef52ba5729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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);
}
|