|
|
1.1 root 1: /*
2: * libc/stdio/freopen.c
3: * ANSI-compliant C standard i/o library.
4: * freopen()
5: * ANSI 4.9.5.4.
6: * Open file with specified stream.
7: */
8:
9: #include <stdio.h>
10:
11: FILE *
12: freopen(filename, mode, stream) const char *filename, *mode; FILE *stream;
13: {
14: fclose(stream);
15: return _fopen(filename, mode, stream, -1);
16: }
17:
18: /* end of libc/stdio/freopen.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.