Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

spawn.h(3HEAD)

Name

spawn.h, spawn - spawn

Synopsis

#include <spawn.h>

Description

The <spawn.h> header defines the posix_spawnattr_t and posix_spawn_file_actions_t types used in performing spawn operations.

The <spawn.h> header defines the flags that can be set in a posix_spawnattr_t object using the posix_spawnattr_setflags() function:

POSIX_SPAWN_RESETIDS
POSIX_SPAWN_SETPGROUP
POSIX_SPAWN_SETSCHEDPARAM
POSIX_SPAWN_SETSCHEDULER
POSIX_SPAWN_SETSIGDEF
POSIX_SPAWN_SETSIGMASK
POSIX_SPAWN_SETSID
POSIX_SPAWN_NOSIGCHLD_NP
POSIX_SPAWN_WAITPID_NP
POSIX_SPAWN_NOEXECERR_NP

Inclusion of the <spawn.h> header can make visible symbols defined in the <sched.h>, <signal.h>, and <sys/types.h> headers.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

sched.h(3HEAD), semaphore.h(3HEAD), signal.h(3HEAD), types.h(3HEAD), posix_spawnattr_setflags(3c), attributes(7), standards(7)