2011-05-28 18:36:30 -04:00
|
|
|
#include <spawn.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
int __posix_spawnx(pid_t *, const char *,
|
|
|
|
int (*)(const char *, char *const *),
|
|
|
|
const posix_spawn_file_actions_t *,
|
2011-09-13 21:09:35 -04:00
|
|
|
const posix_spawnattr_t *, char *const [], char *const []);
|
2011-05-28 18:36:30 -04:00
|
|
|
|
|
|
|
int posix_spawnp(pid_t *res, const char *file,
|
|
|
|
const posix_spawn_file_actions_t *fa,
|
2011-09-13 21:09:35 -04:00
|
|
|
const posix_spawnattr_t *attr,
|
|
|
|
char *const argv[], char *const envp[])
|
2011-05-28 18:36:30 -04:00
|
|
|
{
|
|
|
|
return __posix_spawnx(res, file, execvp, fa, attr, argv, envp);
|
|
|
|
}
|