





posix_spawn, posix_spawnp    (ADVANCED
REALTIME)



SPN  #include <spawn.h>

int posix_spawn (

pid_t *restrict pid,

const char *restrict path,

const posix_spawn_file_actions_t *file_actions,

const posix_spawnattr_t *restrict akkrp,

char *const argv[restrict],

char *const envp[restrict]};

int posix_spawnp (

pid_t *restrict pid,

const char *restrict file,

const posix_spawn_file_actions_t *file_actions,

const posix_spawnattr_t *restrict attrp,

char *const argv[restrict],

char * const envp[restrict]);