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.

22 lines
839 B

  1. /***
  2. *txtmode.c - set global text mode flag
  3. *
  4. * Copyright (c) 1989-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Sets the global file mode to text. This is the default.
  8. *
  9. *Revision History:
  10. * 06-08-89 PHG Module created, based on asm version.
  11. * 04-04-90 GJF Added #include <cruntime.h>. Also, fixed the copyright.
  12. * 01-23-92 GJF Added #include <stdlib.h> (contains decl of _fmode).
  13. * 04-05-94 GJF Added conditional so this definition doesn't make it
  14. * into the msvcrt*.dll for Win32s.
  15. * 07-09-96 GJF Removed DLL_FOR_WIN32S. Also, detab-ed.
  16. *
  17. *******************************************************************************/
  18. #include <cruntime.h>
  19. #include <stdlib.h>
  20. int _fmode = 0; /* set text mode */