HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

        FILE *freopen( const char *fname, const char *type, FILE *fp )

       - prototype in stdio.h

       - substitutes named file in place of open fp and closes original fp
       - useful for changing file attached to stdin, stdout, or stderr
       - returns fp on success or NULL on error
       - see   fopen()

Esc or Alt-X to exit freopen Home/PgUp/PgDn/End ←↑↓→