aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-04-02 21:16:07 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-05 10:26:32 +0100
commit53562047851414d4aa4ffceeba534eac84a70fe5 (patch)
tree254ca06408a18b6e1cebe92afb48059ee3892394
parent7b5e3ad522e05df4a3a0bfb5afbcf640a0a67e47 (diff)
downloadman-pages-53562047851414d4aa4ffceeba534eac84a70fe5.tar.gz
posix_spawn.3: Add note on "posix_fspawn" functionality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-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 b60cdee607..0a0cc0eb8c 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -528,6 +528,18 @@ On glibc,
.\" Tested on glibc 2.12
fork handlers are called only if the child is created using
.BR fork (2).
+
+There is no "posix_fspawn" function (i.e., a function that is to
+.BR posix_spawn ()
+as
+.BR fexecve (3)
+is to
+.BR execve (2)).
+However, this functionality can be obtained by specifying the
+.I path
+argument as one of the files in the caller's
+.IR /proc/self/fd
+directory.
.SH VERSIONS
.\" FIXME all of these pages should have a VERSIONS section
The