Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
699 B

  1. /***
  2. *wfdopen.c - open a file descriptor as stream (wchar_t version)
  3. *
  4. * Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * defines _wfdopen() - opens a file descriptor as a stream, thus allowing
  8. * buffering, etc.
  9. *
  10. *Revision History:
  11. * 12-07-93 CFW Module created.
  12. * 02-07-94 CFW POSIXify.
  13. * 02-22-95 GJF Removed obsolete WPRFLAG.
  14. *
  15. *******************************************************************************/
  16. #ifndef _POSIX_
  17. #ifndef _UNICODE /* CRT flag */
  18. #define _UNICODE 1
  19. #endif
  20. #ifndef UNICODE /* NT flag */
  21. #define UNICODE 1
  22. #endif
  23. #undef _MBCS /* UNICODE not _MBCS */
  24. #include "fdopen.c"
  25. #endif /* _POSIX_ */