aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/execve.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/execve.h')
-rw-r--r--lib/sys/execve.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/execve.h b/lib/sys/execve.h
new file mode 100644
index 0000000..04d6dea
--- /dev/null
+++ b/lib/sys/execve.h
@@ -0,0 +1,11 @@
+#ifndef EXECVE_H
+#define EXECVE_H
+
+#include "syscalls.h"
+
+int execve(const char *pathname, char *const argv[], char *const envp[])
+{
+ return syscall(EXECVE, pathname, argv, envp);
+}
+
+#endif