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 / __wait.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-17  |  346 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. __wait(__WAIT_STATUS_DEFN wait_stat)
  10. {
  11.     return wait4(WAIT_ANY, wait_stat, 0, NULL);
  12. }
  13.  
  14. #include <gnu-stabs.h>
  15. #ifdef weak_alias
  16. weak_alias (__wait, wait);
  17. #endif
  18.