06873b060e91fe092d1ea5adedead9914fcaef5a
[gnulib.git] / doc / posix-functions / fork.texi
1 @node fork
2 @section @code{fork}
3 @findex fork
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fork.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 mingw.
18 @item
19 On some platforms, @code{fork} followed by a call of the @code{exec} family
20 (@code{execl}, @code{execlp}, @code{execle}, @code{execv}, @code{execvp},
21 or @code{execve}) is less efficient than @code{vfork} followed by the same
22 call.  @code{vfork} is a variant of @code{fork} that has been introduced to
23 optimize the @code{fork}/@code{exec} pattern.
24 @item
25 On Windows platforms (excluding Cygwin), this function is not implemented; use
26 @code{spawnvp} instead.
27 @end itemize