1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
3 type posix_spawn_file_actions_t
4 # if defined XOPEN2K8 || defined POSIX2008
8 type {struct sched_param}
11 constant POSIX_SPAWN_RESETIDS
12 constant POSIX_SPAWN_SETPGROUP
13 constant POSIX_SPAWN_SETSCHEDPARAM
14 constant POSIX_SPAWN_SETSCHEDULER
15 constant POSIX_SPAWN_SETSIGDEF
16 constant POSIX_SPAWN_SETSIGMASK
18 function int posix_spawnattr_destroy (posix_spawnattr_t*)
19 function int posix_spawnattr_getsigdefault (const posix_spawnattr_t*, sigset_t*)
20 function int posix_spawnattr_getflags (const posix_spawnattr_t*, short*)
21 function int posix_spawnattr_getpgroup (const posix_spawnattr_t*, pid_t*)
22 function int posix_spawnattr_getschedparam (const posix_spawnattr_t*, struct sched_param*)
23 function int posix_spawnattr_getschedpolicy (const posix_spawnattr_t*, int*)
24 function int posix_spawnattr_getsigmask (const posix_spawnattr_t*, sigset_t*)
25 function int posix_spawnattr_init (posix_spawnattr_t*)
26 function int posix_spawnattr_setsigdefault (posix_spawnattr_t*, const sigset_t*)
27 function int posix_spawnattr_setflags (posix_spawnattr_t*, short)
28 function int posix_spawnattr_setpgroup (posix_spawnattr_t*, pid_t)
29 function int posix_spawnattr_setschedparam (posix_spawnattr_t*, const struct sched_param*)
30 function int posix_spawnattr_setschedpolicy (posix_spawnattr_t*, int)
31 function int posix_spawnattr_setsigmask (posix_spawnattr_t*, const sigset_t*)
32 function int posix_spawn_file_actions_addclose (posix_spawn_file_actions_t*, int)
33 function int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t*, int, int)
34 function int posix_spawn_file_actions_addopen (posix_spawn_file_actions_t*, int, const char *, int, mode_t)
35 function int posix_spawn_file_actions_destroy (posix_spawn_file_actions_t*)
36 function int posix_spawn_file_actions_init (posix_spawn_file_actions_t*)
37 function int posix_spawn (pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char *const[], char *const[]);
38 function int posix_spawnp (pid_t*, const char*, const posix_spawn_file_actions_t*, const posix_spawnattr_t*, char *const[], char *const[]);
42 allow-header sys/types.h