home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
bbs
/
gnu
/
libg++-2.6-fsf.lha
/
libg++-2.6
/
libio
/
stdio
/
freopen.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-04
|
259b
|
15 lines
#include "libioP.h"
#include "stdio.h"
FILE*
freopen(filename, mode, fp)
const char* filename;
const char* mode;
FILE* fp;
{
COERCE_FILE(fp);
if (!(fp->_flags & _IO_IS_FILEBUF))
return NULL;
return _IO_freopen(filename, mode, fp);
}