vfork.S 396 B

123456789101112131415161718192021
  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 <features.h>
  7. #include <asm/unistd.h>
  8. .text
  9. .global ___vfork
  10. .hidden ___vfork
  11. .type ___vfork,STT_FUNC;
  12. .align 4
  13. ___vfork:
  14. p0 = __NR_vfork;
  15. excpt 0;
  16. rts;
  17. .size ___vfork,.-___vfork
  18. //weak_alias(___vfork,_vfork)
  19. //libc_hidden_def(_vfork)