vfork.c 367 B

123456789101112131415
  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. libc_hidden_proto(vfork)
  12. weak_alias(__vfork,vfork)
  13. libc_hidden_weak(vfork)