aboutsummaryrefslogtreecommitdiffstats
path: root/fexecv.c
diff options
context:
space:
mode:
Diffstat (limited to 'fexecv.c')
-rw-r--r--fexecv.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/fexecv.c b/fexecv.c
new file mode 100644
index 0000000..955ae58
--- /dev/null
+++ b/fexecv.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+int
+libsimple_fexecv(int fd, char *const argv[])
+{
+ return fexecve(fd, argv, environ);
+}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif