summaryrefslogtreecommitdiffstats
path: root/private/crt32/linkopts/setargv.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/linkopts/setargv.c')
-rw-r--r--private/crt32/linkopts/setargv.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/private/crt32/linkopts/setargv.c b/private/crt32/linkopts/setargv.c
new file mode 100644
index 000000000..ca344acbe
--- /dev/null
+++ b/private/crt32/linkopts/setargv.c
@@ -0,0 +1,43 @@
+/***
+*setargv.c - generic _setargv routine
+*
+* Copyright (c) 1989-1991, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* Linking in this module replaces the normal setargv with the
+* wildcard setargv.
+*
+*Revision History:
+* 06-28-89 PHG Module created, based on asm version.
+* 04-09-90 GJF Added #include <cruntime.h>. Made calling type
+* _CALLTYPE1. Also, fixed the copyright.
+* 10-08-90 GJF New-style function declarator.
+*
+*******************************************************************************/
+
+#include <cruntime.h>
+#include <internal.h>
+
+/***
+*_setargv - sets argv by calling __setargv
+*
+*Purpose:
+* Routine directly transfers to __setargv (defined in stdargv.asm).
+*
+*Entry:
+* See __setargv.
+*
+*Exit:
+* See __setargv.
+*
+*Exceptions:
+* See __setargv.
+*
+*******************************************************************************/
+
+void _CALLTYPE1 _setargv (
+ void
+ )
+{
+ __setargv();
+}