Ingo Weinhold 6809759e16 Copying binutils 2.16.1 into trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 16:32:10 +00:00

23 lines
351 B
C

/* Emulate vfork using just plain fork, for systems without a real vfork.
This function is in the public domain. */
/*
@deftypefn Supplemental int vfork (void)
Emulates @code{vfork} by calling @code{fork} and returning its value.
@end deftypefn
*/
#include "ansidecl.h"
extern int fork PARAMS ((void));
int
vfork ()
{
return (fork ());
}