X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fvfork.c;h=eb4ff622b44f5ba6100b64f8ccf1d5880b670c52;hb=452f10a186cdb18091f590315c55488b871812e3;hp=86c45919f660f5a6ba106f3035a5908819eac38b;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/vfork.c b/libiberty/vfork.c index 86c45919f6..eb4ff622b4 100644 --- a/libiberty/vfork.c +++ b/libiberty/vfork.c @@ -1,8 +1,22 @@ /* 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 (void); + int -vfork () +vfork (void) { return (fork ()); }