aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/posix_spawn.312
1 files changed, 12 insertions, 0 deletions
diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
index 498228f018..1a229cfc8f 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -382,6 +382,18 @@ the child's process group ID is made the same as its process ID.
If the
.B POSIX_SPAWN_SETPGROUP
flag is not set, the child inherits the parent's process group ID.
+.TP
+.B POSIX_SPAWN_USEVFORK
+Since glibc 2.24, this flag has no effect.
+On older implementations, setting this flag forces the
+.BR fork()
+step to use
+.BR vfork (2)
+instead of
+.BR fork (2).
+The
+.B _GNU_SOURCE
+feature test macro must be defined to obtain the definition of this contant.
.PP
If
.I attrp