vfork.c 342 B

1234567891011121314
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <sys/types.h>
  7. #include <sys/syscall.h>
  8. #include <errno.h>
  9. #define __NR___vfork __NR_vfork
  10. attribute_hidden _syscall0(pid_t, __vfork)
  11. weak_alias(__vfork,vfork)
  12. libc_hidden_weak(vfork)