summaryrefslogtreecommitdiffstats
path: root/private/crt32/exec/fileinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/exec/fileinfo.c')
-rw-r--r--private/crt32/exec/fileinfo.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/private/crt32/exec/fileinfo.c b/private/crt32/exec/fileinfo.c
new file mode 100644
index 000000000..c617cf8c4
--- /dev/null
+++ b/private/crt32/exec/fileinfo.c
@@ -0,0 +1,22 @@
+/***
+*fileinfo.c - sets C file info flag
+*
+* Copyright (c) 1989-1992, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* Sets the C file info flag. By default, the openfile information
+* is NOT passed along to children on spawn/exec calls. If the flag
+* is set, openfile information WILL get passed on to children on
+* spawn/exec calls.
+*
+*Revision History:
+* 06-07-89 PHG Module created, based on asm version
+* 04-03-90 GJF Added #include <cruntime.h>. Also, fixed the copyright.
+* 01-23-92 GJF Added #include <stdlib.h> (contains decl of _fileinfo).
+*
+*******************************************************************************/
+
+#include <cruntime.h>
+#include <stdlib.h>
+
+int _fileinfo = -1;