home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / wfreopen.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  567b  |  25 lines

  1. /***
  2. *wfreope.c - close a stream and assign it to a new file (wchar_t version)
  3. *
  4. *       Copyright (c) 1993-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       defines _wfreopen() - close and reopen file, typically used to redirect
  8. *       stdin/out/err/prn/aux.
  9. *
  10. *******************************************************************************/
  11.  
  12.  
  13. #ifndef _UNICODE
  14. #define _UNICODE 1
  15. #endif  /* _UNICODE */
  16.  
  17. #ifndef UNICODE
  18. #define UNICODE 1
  19. #endif  /* UNICODE */
  20.  
  21. #undef _MBCS /* UNICODE not _MBCS */
  22.  
  23. #include "freopen.c"
  24.  
  25.