14#include_next <spawn.h>
20#define POSIX_SPAWN_SETPGROUP 0x02
21#define POSIX_SPAWN_SETSIGMASK 0x08
22#define POSIX_SPAWN_USEVFORK 0x40
23#define POSIX_SPAWN_SETSIGDEF 0x01
24#define POSIX_SPAWN_SETSCHEDPARAM 0x04
25#define POSIX_SPAWN_SETSCHEDULER 0x10
26#define POSIX_SPAWN_RESETIDS 0x20
41 const char *,
int flags,
mode_t);
__Z_EXPORT int posix_spawn_file_actions_init(posix_spawn_file_actions_t *)
Definition zos-spawn.cc:34
__Z_EXPORT int posix_spawnattr_setsigmask(posix_spawnattr_t *, sigset_t *mask)
Definition zos-spawn.cc:154
__Z_EXPORT int posix_spawnattr_destroy(posix_spawnattr_t *)
Definition zos-spawn.cc:170
__Z_EXPORT int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *, int, const char *, int flags, mode_t)
Definition zos-spawn.cc:99
__Z_EXPORT int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *)
Definition zos-spawn.cc:132
__Z_EXPORT int posix_spawnattr_init(posix_spawnattr_t *)
Definition zos-spawn.cc:146
__Z_EXPORT int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *, int pipe_fd, int fd)
Definition zos-spawn.cc:116
__Z_EXPORT int posix_spawnattr_setflags(posix_spawnattr_t *, short flags)
Definition zos-spawn.cc:162
__Z_EXPORT int posix_spawn(pid_t *pid, const char *cmd, const posix_spawn_file_actions_t *act, const posix_spawnattr_t *, char *const args[], char *const env[])
Definition zos-spawn.cc:176
__Z_EXPORT int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *, int pipe_fd)
Definition zos-spawn.cc:83
int mode_t
Definition stat.h:14
Definition zos-spawn.cc:19
struct _spawn_actions * actions
Definition spawn.h:29
sigset_t * mask
Definition spawn.h:33
short flags
Definition spawn.h:34
#define __Z_EXPORT
Definition zos-macros.h:13