summaryrefslogtreecommitdiffstats
path: root/private/crt32/linkopts/setargv.c
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/linkopts/setargv.c
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
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();
+}