2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
[binutils.git] / libiberty / vfork.c
blob4aa5c21d42714793fab1de8a42180f66a7f03af9
1 /* Emulate vfork using just plain fork, for systems without a real vfork.
2 This function is in the public domain. */
4 /*
6 @deftypefn Supplemental int vfork (void)
8 Emulates @code{vfork} by calling @code{fork} and returning its value.
10 @end deftypefn
14 #include "ansidecl.h"
16 extern int fork PARAMS ((void));
18 int
19 vfork ()
21 return (fork ());