home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1999 February / MACPOWER-1999-02.ISO.7z / MACPOWER-1999-02.ISO / 9902⁄AMUG / UTILITY / mac06-0.95.sit / mac06-0.95 / usr / include / sys / sys_wait.h < prev    next >
Text File  |  1998-04-20  |  423b  |  20 lines

  1. /* mac06ゥ1997,1998 by HNS/DSITRI hns@computer.org
  2. ** sys/wait.h
  3. */
  4.  
  5. #pragma once
  6.  
  7. #define WNOHANG            (0x01)
  8. #define WUNTRACED        (0x02)
  9.  
  10. #define WIFEXITED(S)    (((S)&0x0300) == 0)
  11. #define WEXITSTATUS(S)    ((S)&0xff)
  12. #define WIFSIGNALED(S)    ((S)&0x0100)
  13. #define WTERMSIG(S)        ((S)&0xff)
  14. #define WIFSTOPPED(S)    ((S)&0x0200)
  15. #define WSTOPSIG(S)        ((S)&0xff)
  16.  
  17. int wait(int *status);
  18. int waitpid(int pid, int *status, int code);
  19.  
  20. /* EOF */