waitpid.S 487 B

1234567891011121314151617181920212223
  1. #include <sysdep-cancel.h>
  2. #ifndef __NR_waitpid
  3. #error Makefile error: No NR_waitpid on this arch
  4. #endif
  5. /*
  6. extern pid_t __waitpid_nocancel (pid_t, int *, int) attribute_hidden;
  7. */
  8. #if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
  9. PSEUDO (__waitpid, waitpid, 3)
  10. ret
  11. PSEUDO_END(__waitpid)
  12. libc_hidden_def (__waitpid)
  13. weak_alias (__waitpid, waitpid)
  14. libc_hidden_weak (waitpid)
  15. weak_alias (__waitpid, __libc_waitpid)
  16. libc_hidden_weak (__libc_waitpid)
  17. #endif