summaryrefslogtreecommitdiff
path: root/Libraries/LibC
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-07-02 22:32:13 -0400
committerAndreas Kling <kling@serenityos.org>2020-07-06 10:01:14 +0200
commit0d851b1930fe3e99607bf0086e833f0f207e4073 (patch)
treec3078a423c80464b34f6c6a16fa4a45bc03104d7 /Libraries/LibC
parent9725bda63ee7f4a3f2586ce41b174d6c51a23b58 (diff)
downloadserenity-0d851b1930fe3e99607bf0086e833f0f207e4073.zip
Add manpages for posix_spawn
Diffstat (limited to 'Libraries/LibC')
-rw-r--r--Libraries/LibC/spawn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibC/spawn.h b/Libraries/LibC/spawn.h
index 87a325e528..05435ef466 100644
--- a/Libraries/LibC/spawn.h
+++ b/Libraries/LibC/spawn.h
@@ -70,8 +70,8 @@ typedef struct {
sigset_t sigmask;
} posix_spawnattr_t;
-int posix_spawn(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char* const[], char* const[]);
-int posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char* const[], char* const[]);
+int posix_spawn(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char* const argv[], char* const envp[]);
+int posix_spawnp(pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char* const argv[], char* const envp[]);
int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t*, const char*);
int posix_spawn_file_actions_addfchdir(posix_spawn_file_actions_t*, int);