You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
346 B

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