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