1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibC: Add execvpe() and make execvp()'ed children inherit environment.

This commit is contained in:
Andreas Kling 2019-04-26 03:16:26 +02:00
parent 0a68e0046f
commit 490e89e240
3 changed files with 13 additions and 5 deletions

View file

@ -28,6 +28,7 @@ inline int getpagesize() { return 4096; }
pid_t fork();
int execv(const char* path, char* const argv[]);
int execve(const char* filename, char* const argv[], char* const envp[]);
int execvpe(const char* filename, char* const argv[], char* const envp[]);
int execvp(const char* filename, char* const argv[]);
int execl(const char* filename, const char* arg, ...);
void sync();