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

  1. /***
  2. *commode.c - set global file commit mode to commit
  3. *
  4. *       Copyright (c) 1990-1997, 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. *******************************************************************************/
  11.  
  12.  
  13. #include <cruntime.h>
  14. #include <file2.h>
  15. #include <internal.h>
  16.  
  17. /* set default file commit mode to commit */
  18. int _commode = _IOCOMMIT;
  19.  
  20.  
  21.