fix various errors in function signatures/prototypes found by nsz
[musl] / src / process / posix_spawnp.c
1 #include <spawn.h>
2 #include <unistd.h>
3
4 int __posix_spawnx(pid_t *, const char *,
5         int (*)(const char *, char *const *),
6         const posix_spawn_file_actions_t *,
7         const posix_spawnattr_t *, char *const [], char *const []);
8
9 int posix_spawnp(pid_t *res, const char *file,
10         const posix_spawn_file_actions_t *fa,
11         const posix_spawnattr_t *attr,
12         char *const argv[], char *const envp[])
13 {
14         return __posix_spawnx(res, file, execvp, fa, attr, argv, envp);
15 }