diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-03 10:49:13 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-03 10:55:02 +0100 |
commit | dd060d0fa895baa16eb465f2e7cedfb52534df5e (patch) | |
tree | 7db62694825e6d1081eb5716385948b92857bb7f /LibC/process.h | |
parent | c5eec9cbfc33aec8ec415c1911326be4b1e3adcd (diff) | |
download | serenity-dd060d0fa895baa16eb465f2e7cedfb52534df5e.zip |
Share code between spawn() and exec() implementations.
Okay, now there's only one ELF loading client in the process launch code.
Diffstat (limited to 'LibC/process.h')
-rw-r--r-- | LibC/process.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LibC/process.h b/LibC/process.h index 9b5bf828a9..aa2a1d9f5a 100644 --- a/LibC/process.h +++ b/LibC/process.h @@ -1,10 +1,11 @@ #pragma once #include <sys/cdefs.h> +#include <sys/types.h> __BEGIN_DECLS -int spawn(const char* path, const char** args); +pid_t spawn(const char* path, const char** args, const char** envp); __END_DECLS |