summaryrefslogtreecommitdiff
path: root/src/process/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/execv.c')
-rw-r--r--src/process/execv.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/process/execv.c b/src/process/execv.c
new file mode 100644
index 00000000..2ac0dec0
--- /dev/null
+++ b/src/process/execv.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+
+extern char **__environ;
+
+int execv(const char *path, char *const argv[])
+{
+ return execve(path, argv, __environ);
+}