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