home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serving the Web
/
ServingTheWeb1995.disc1of1.iso
/
linux
/
slacksrce
/
d
/
libc
/
libc-4.6
/
libc-4
/
libc-linux
/
libio-4.6.26
/
stdio
/
freopen.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-08-12
|
264 b
|
15 lines
#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);
}