summaryrefslogtreecommitdiff
path: root/LibC/process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-03 10:49:13 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-03 10:55:02 +0100
commitdd060d0fa895baa16eb465f2e7cedfb52534df5e (patch)
tree7db62694825e6d1081eb5716385948b92857bb7f /LibC/process.h
parentc5eec9cbfc33aec8ec415c1911326be4b1e3adcd (diff)
downloadserenity-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.h3
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