diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-03 01:49:40 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-03 01:51:42 +0100 |
commit | 202bdb553c2dc073f06105b12fbf0b2a8045069b (patch) | |
tree | 159e2bf3ccb0ba84b51aa811aa3cdc0d2aa12c19 /LibC/unistd.h | |
parent | b59ce22fc5a3097544519eee7876e5f5d0656d4b (diff) | |
download | serenity-202bdb553c2dc073f06105b12fbf0b2a8045069b.zip |
Implemented sys$execve().
It's really crufty, but it basically works!
Diffstat (limited to 'LibC/unistd.h')
-rw-r--r-- | LibC/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibC/unistd.h b/LibC/unistd.h index 205002dff8..abcf410aba 100644 --- a/LibC/unistd.h +++ b/LibC/unistd.h @@ -9,6 +9,7 @@ extern char** environ; inline int getpagesize() { return 4096; } pid_t fork(); +int execve(const char* filename, const char** argv, const char** envp); pid_t getsid(pid_t); pid_t setsid(); int setpgid(pid_t pid, pid_t pgid); |