add no-op POSIX_SPAWN_USEVFORK to spawn.h

the bit is reserved anyway for ABI-compat reasons; this documents it
and makes it so we can have posix_spawnattr_setflags check for flag
validity without hard-coding an anonymous bit value.
This commit is contained in:
Rich Felker 2017-04-22 20:40:09 -04:00
parent 5555041668
commit 77e895dcfa
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ struct sched_param;
#define POSIX_SPAWN_SETSIGMASK 8
#define POSIX_SPAWN_SETSCHEDPARAM 16
#define POSIX_SPAWN_SETSCHEDULER 32
#define POSIX_SPAWN_USEVFORK 64
#define POSIX_SPAWN_SETSID 128
typedef struct {