summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-04-22 20:40:09 -0400
committerRich Felker <dalias@aerifal.cx>2017-04-22 20:40:09 -0400
commit77e895dcfadb156c9f378d26c9d0497ce2baf13f (patch)
treebe7f0e6d2e0e78ac7039b0e1f18402466743928e
parent555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad (diff)
downloadmusl-77e895dcfadb156c9f378d26c9d0497ce2baf13f.tar.gz
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.
-rw-r--r--include/spawn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spawn.h b/include/spawn.h
index f3e9e23c..bba57ce4 100644
--- a/include/spawn.h
+++ b/include/spawn.h
@@ -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 {