Back to index

cell-binutils  2.17cvs20070401
vfork.c
Go to the documentation of this file.
00001 /* Emulate vfork using just plain fork, for systems without a real vfork.
00002    This function is in the public domain. */
00003 
00004 /*
00005 
00006 @deftypefn Supplemental int vfork (void)
00007 
00008 Emulates @code{vfork} by calling @code{fork} and returning its value.
00009 
00010 @end deftypefn
00011 
00012 */
00013 
00014 #include "ansidecl.h"
00015 
00016 extern int fork (void);
00017 
00018 int
00019 vfork (void)
00020 {
00021   return (fork ());
00022 }