| Main index | Section 3 | Options |
#include <spawn.h>
The posix_spawnattr_setflags() function sets the spawn-flags attribute in an initialized attributes object referenced by attr.
The spawn-flags attribute is used to indicate which process attributes are to be changed in the new process image when invoking posix_spawn() or posix_spawnp(). It is the bitwise-inclusive OR of zero or more of the following flags (see posix_spawn()):
| POSIX_SPAWN_RESETIDS
POSIX_SPAWN_SETPGROUP POSIX_SPAWN_SETSIGDEF POSIX_SPAWN_SETSIGMASK POSIX_SPAWN_SETSCHEDPARAM POSIX_SPAWN_SETSCHEDULER POSIX_SPAWN_DISABLE_ASLR_NP | |
These flags are defined in <spawn.h>. The default value of this attribute is as if no flags were set.
| POSIX_SPAWNATTR_GETFLAGS (3) | March 4, 2024 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | If you have any trouble sounding condescending, find a Unix user to show you how it's done. | ” |
| — Scott Adams | ||