100bf4279Sespie /* Emulate vfork using just plain fork, for systems without a real vfork. 200bf4279Sespie This function is in the public domain. */ 300bf4279Sespie 437c53322Sespie /* 537c53322Sespie 637c53322Sespie @deftypefn Supplemental int vfork (void) 737c53322Sespie 837c53322Sespie Emulates @code{vfork} by calling @code{fork} and returning its value. 937c53322Sespie 1037c53322Sespie @end deftypefn 1137c53322Sespie 1237c53322Sespie */ 1337c53322Sespie 1437c53322Sespie #include "ansidecl.h" 1537c53322Sespie 16*150b7e42Smiod extern int fork (void); 1737c53322Sespie 1800bf4279Sespie int vfork(void)19*150b7e42Smiodvfork (void) 2000bf4279Sespie { 2100bf4279Sespie return (fork ()); 2200bf4279Sespie } 23