summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/fork.texi
blob: 2db4bcc91997edd0a4b9ea6251398d307257e9fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@node fork
@section @code{fork}
@findex fork

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fork.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 9.
@item
On some platforms, @code{fork} followed by a call of the @code{exec} family
(@code{execl}, @code{execlp}, @code{execle}, @code{execv}, @code{execvp},
or @code{execve}) is less efficient than @code{vfork} followed by the same
call.  @code{vfork} is a variant of @code{fork} that has been introduced to
optimize the @code{fork}/@code{exec} pattern.
@item
On Windows platforms (excluding Cygwin), this function is not implemented; use
@code{spawnvp} instead.
@end itemize