diff options
Diffstat (limited to 'private/crt32/linkopts/commode.c')
-rw-r--r-- | private/crt32/linkopts/commode.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/private/crt32/linkopts/commode.c b/private/crt32/linkopts/commode.c new file mode 100644 index 000000000..0faa595a0 --- /dev/null +++ b/private/crt32/linkopts/commode.c @@ -0,0 +1,26 @@ +/*** +*commode.c - set global file commit mode to commit +* +* Copyright (c) 1990-1992, Microsoft Corporation. All rights reserved. +* +*Purpose: +* Sets the global file commit mode flag to commit. Linking with +* this file sets all files to be opened in commit mode by default. +* +*Revision History: +* 07-11-90 SBM Module created, based on asm version. +* 08-27-92 GJF Don't build for POSIX. +* +*******************************************************************************/ + +#ifndef _POSIX_ + +#include <cruntime.h> +#include <file2.h> +#include <internal.h> + +/* set default file commit mode to commit */ +int _commode = _IOCOMMIT; + + +#endif |