mirror of https://github.com/mkerrisk/man-pages
posix_spawn.3: Add note on "posix_fspawn" functionality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7b5e3ad522
commit
5356204785
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue