Annotation of GNUtools/libg++/libio/stdio/freopen.c, revision 1.1.1.1

1.1       root        1: #include "libioP.h"
                      2: #include "stdio.h"
                      3: 
                      4: FILE*
                      5: freopen(filename, mode, fp)
                      6:      const char* filename;
                      7:      const char* mode;
                      8:      FILE* fp;
                      9: {
                     10:   COERCE_FILE(fp);
                     11:   if (!(fp->_flags & _IO_IS_FILEBUF))
                     12:     return NULL;
                     13:   return _IO_freopen(filename, mode, fp);
                     14: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.