summaryrefslogtreecommitdiffstats
path: root/private/crt32/lowio/txtmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/lowio/txtmode.c')
-rw-r--r--private/crt32/lowio/txtmode.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/private/crt32/lowio/txtmode.c b/private/crt32/lowio/txtmode.c
new file mode 100644
index 000000000..b40b0db61
--- /dev/null
+++ b/private/crt32/lowio/txtmode.c
@@ -0,0 +1,19 @@
+/***
+*txtmode.c - set global text mode flag
+*
+* Copyright (c) 1989-1992, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* Sets the global file mode to text. This is the default.
+*
+*Revision History:
+* 06-08-89 PHG Module created, based on asm version.
+* 04-04-90 GJF Added #include <cruntime.h>. Also, fixed the copyright.
+* 01-23-92 GJF Added #include <stdlib.h> (contains decl of _fmode).
+*
+*******************************************************************************/
+
+#include <cruntime.h>
+#include <stdlib.h>
+
+int _fmode = 0; /* set text mode */