SYNOPSIS
#include <spawn.h>
int posix_spawnattr_getflags(const posix_spawnattr_t *restrict attr, short *restrict flags);
int posix_spawnattr_setflags(posix_spawnattr_t *attr, short flags);
DESCRIPTION
The
The
In a spawn attributes object, the spawn-flags attribute
indicates which process attributes are to be changed in a new process image
spawned by
POSIX_SPAWN_RESETIDS POSIX_SPAWN_SETPGROUP POSIX_SPAWN_SETSIGDEF POSIX_SPAWN_SETSIGMASK POSIX_SPAWN_SETSCHEDPARAM POSIX_SPAWN_SETSCHEDULER
By default, the spawn-flags attribute has a value as if none of these flags (defined in the <spawn.h> header) were set.
PARAMETERS
- attr
-
Points to a spawn attributes object.
- flags
-
Points to the value retrieved by
posix_spawnattr_getflags() or to the value to be assigned to the spawn-flags attribute byposix_spawnattr_setflags() .
RETURN VALUES
On success,
Otherwise, one of the following error numbers is returned:
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_destroy() ,posix_spawnattr_getpgroup() ,posix_spawnattr_getschedparam() ,posix_spawnattr_getschedpolicy() ,posix_spawnattr_getsigdefault() ,posix_spawnattr_getsigmask() ,posix_spawnattr_init() ,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.