home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / LIBC / LIBC-4.6 / LIBC-4 / libc-linux / sysdeps / linux / __wait3.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-17  |  397 b   |  18 lines

  1. #include <syscall.h>
  2. #include <sys/types.h>
  3. #include <sys/wait.h>
  4.  
  5. static inline
  6. _syscall4(__pid_t,wait4,__pid_t,pid,__WAIT_STATUS_DEFN,status,int,options,struct rusage *,ru)
  7.  
  8. __pid_t
  9. __wait3(__WAIT_STATUS_DEFN wait_stat, int options, struct rusage *reserved)
  10. {
  11.     return wait4(WAIT_ANY, wait_stat, options, reserved);
  12. }
  13.  
  14. #include <gnu-stabs.h>
  15. #ifdef weak_alias
  16. weak_alias (__wait3, wait3);
  17. #endif
  18.