posix_spawn.3: Add note on "posix_fspawn" functionality

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-02 21:16:07 +02:00
parent 7b5e3ad522
commit 5356204785
1 changed files with 12 additions and 0 deletions

View File

@ -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