summaryrefslogtreecommitdiff
path: root/src/unistd/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/execv.c')
-rw-r--r--src/unistd/execv.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/unistd/execv.c b/src/unistd/execv.c
new file mode 100644
index 00000000..3b3e29fb
--- /dev/null
+++ b/src/unistd/execv.c
@@ -0,0 +1,12 @@
+#include "stddef.h"
+#include "sys/types.h"
+#include <unistd.h>
+
+int execv(const char *path, char *const argv[])
+{
+ extern char **environ;
+ return execve(path, argv, environ);
+}
+/*
+POSIX(1)
+*/