vfork.c 246 B

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