1 2 3 4 5 6 7 8 9 10 11
/* Trivial implementation for arches that lack vfork */ #include <unistd.h> #include <sys/types.h> extern __pid_t __fork (void) __THROW attribute_hidden; pid_t attribute_hidden __vfork(void) { return __fork(); } strong_alias(__vfork,vfork)