aboutsummaryrefslogtreecommitdiffstats
path: root/vxexecle.c
diff options
context:
space:
mode:
Diffstat (limited to 'vxexecle.c')
-rw-r--r--vxexecle.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/vxexecle.c b/vxexecle.c
new file mode 100644
index 0000000..61415ef
--- /dev/null
+++ b/vxexecle.c
@@ -0,0 +1,28 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+int
+libsimple_vxexecle(int dirfd, const char *file, int atflags, const char *path, va_list argv_null_envp)
+{
+ char *const *envp;
+ va_list args;
+ va_copy(args, argv_null_envp);
+ while (va_arg(args, char *));
+ envp = va_arg(args, char *const *);
+ va_end(args);
+ return libsimple_vxexecl(dirfd, file, atflags, path, envp, argv_null_envp);
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif