spawn - create a new process and executes a file.
The spawn() function is a private system call used to implement posix_spawn(3C). It creates a new process and executes a file in that. This function also performs certain operations on the new process and can fail if any of those operations fail.
posix_spawn(3C), posix_spawn_file_actions_addclose(3C), posix_spawn_file_actions_adddup2(3C), posix_spawn_file_actions_addopen(3C), posix_spawnattr_getflags(3C), posix_spawnattr_getpgroup(3C), posix_spawnattr_getschedparam(3C), posix_spawnattr_getschedpolicy(3C), posix_spawnattr_getsigdefault(3C), posix_spawnattr_getsigignore_np(3C), posix_spawnattr_getsigmask(3C), posix_spawnattr_setflags(3C), posix_spawnattr_setpgroup(3C), posix_spawnattr_setschedparam(3C), posix_spawnattr_setschedpolicy(3C), posix_spawnattr_setsigignore_np(3C), posix_spawnattr_setsigmask(3C), posix_spawnattr_setsigdefault(3C)