SYNOPSIS
#include <spawn.h>
int posix_spawnattr_destroy(posix_spawnattr_t *attr);
int posix_spawnattr_init(posix_spawnattr_t *attr);
DESCRIPTION
The
The
A spawn attributes object is of type posix_spawnattr_t (defined in <spawn.h>). This object specifies the inheritance of process attributes across a spawn operation.
A spawn attributes object (after possible modification by setting individual
attribute values) can modify the behavior of the
PARAMETERS
RETURN VALUES
On success, the
Otherwise, these functions return one of the following error numbers:
- ENOMEM
-
There is not enough memory to initialize the spawn attributes object.
- EINVAL
-
The attr argument contains an invalid value.
CONFORMANCE
UNIX 03.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
posix_spawn() ,posix_spawnattr_getflags() ,posix_spawnattr_getpgroup() ,posix_spawnattr_getschedparam() ,posix_spawnattr_getschedpolicy() ,posix_spawnattr_getsigdefault() ,posix_spawnattr_getsigmask() ,posix_spawnattr_setflags() ,posix_spawnattr_setpgroup() ,posix_spawnattr_setschedparam() ,posix_spawnattr_setschedpolicy() ,posix_spawnattr_setsigdefault() ,posix_spawnattr_setsigmask() ,posix_spawnp()
- Miscellaneous:
- spawn
PTC MKS Toolkit 10.5 Documentation Build 40.