summaryrefslogtreecommitdiff
path: root/LibC/unistd.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-23 17:03:14 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-23 17:09:00 +0100
commit8d36c8f0d8b422836c48c08b2138dfdad61751b2 (patch)
tree3507bf6e1cc02f6b2c31afc7c7a21526b1a88f96 /LibC/unistd.h
parent1483af406f9c38a686c11ab1adffb46d81feb54b (diff)
downloadserenity-8d36c8f0d8b422836c48c08b2138dfdad61751b2.zip
LibC: Tweak execvp() and execve() prototypes.
Diffstat (limited to 'LibC/unistd.h')
-rw-r--r--LibC/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibC/unistd.h b/LibC/unistd.h
index a6e371ea95..d4875a287b 100644
--- a/LibC/unistd.h
+++ b/LibC/unistd.h
@@ -10,8 +10,8 @@ extern char** environ;
inline int getpagesize() { return 4096; }
pid_t fork();
-int execve(const char* filename, const char** argv, const char** envp);
-int execvp(const char* filename, const char** argv);
+int execve(const char* filename, char* const argv[], char* const envp[]);
+int execvp(const char* filename, char* const argv[]);
void sync();
void _exit(int status);
pid_t getsid(pid_t);