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.

26 lines
658 B

  1. /***
  2. *commode.c - set global file commit mode to commit
  3. *
  4. * Copyright (c) 1990-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Sets the global file commit mode flag to commit. Linking with
  8. * this file sets all files to be opened in commit mode by default.
  9. *
  10. *Revision History:
  11. * 07-11-90 SBM Module created, based on asm version.
  12. * 08-27-92 GJF Don't build for POSIX.
  13. *
  14. *******************************************************************************/
  15. #ifndef _POSIX_
  16. #include <cruntime.h>
  17. #include <file2.h>
  18. #include <internal.h>
  19. /* set default file commit mode to commit */
  20. int _commode = _IOCOMMIT;
  21. #endif