X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libiberty%2Fvfork.c;h=eb4ff622b44f5ba6100b64f8ccf1d5880b670c52;hb=75d716e297bc9012a549da20ef1fa6180d8f050e;hp=5e8772100815f107d1927ab11cb253c08e8aad71;hpb=bb37062f41610518ad294049736488e122906ea6;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libiberty/vfork.c b/libiberty/vfork.c index 5e877210081..eb4ff622b44 100644 --- a/libiberty/vfork.c +++ b/libiberty/vfork.c @@ -1,12 +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 PARAMS ((void)); +extern int fork (void); int -vfork () +vfork (void) { return (fork ()); }