_POSIX_SPAWN

A spawned child is a new process running a prelinked executable image: the path (or file) argument is resolved by the application-provided posix_spawn_image_lookup() registry rather than loaded from a file system.

posix_spawnp() searches a file without a slash along PATH, or along CONFIG_POSIX_DEFAULT_PATH when PATH is unset, for an executable regular file in the file system; prelinked registry images are named by their full path.

Enable this option with CONFIG_POSIX_SPAWN.

_POSIX_SPAWN

API

Supported

posix_spawn()

yes

posix_spawn_file_actions_addclose()

yes

posix_spawn_file_actions_adddup2()

yes

posix_spawn_file_actions_addopen()

yes

posix_spawn_file_actions_destroy()

yes

posix_spawn_file_actions_init()

yes

posix_spawnattr_destroy()

yes

posix_spawnattr_getflags()

yes

posix_spawnattr_getpgroup()

yes

posix_spawnattr_getschedparam()

yes

posix_spawnattr_getschedpolicy()

yes

posix_spawnattr_getsigdefault()

yes

posix_spawnattr_getsigmask()

yes

posix_spawnattr_init()

yes

posix_spawnattr_setflags()

yes

posix_spawnattr_setpgroup()

yes

posix_spawnattr_setschedparam()

yes

posix_spawnattr_setschedpolicy()

yes

posix_spawnattr_setsigdefault()

yes

posix_spawnattr_setsigmask()

yes

posix_spawnp()

yes

_POSIX_SPAWN