home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / sigaction.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.0 KB  |  38 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_SIGACTION_H
  11. #define _SYS_SIGACTION_H
  12.  
  13. #ident    "@(#)/usr/include/sys/sigaction.h.sl 1.1 4.0 12/08/90 35206 AT&T-USL"
  14. #ifndef _SIGACTION_
  15. #define _SIGACTION_
  16.  
  17. struct sigaction {
  18.     int sa_flags;
  19.     void (*sa_handler)();
  20.     sigset_t sa_mask;
  21.     int sa_resv[2];
  22. };
  23. #endif    /* _SIGACTION_ */
  24.  
  25. /* definitions for the sa_flags field */
  26.  
  27. #define SA_ONSTACK    0x00000001
  28. #define SA_RESETHAND    0x00000002
  29. #define SA_RESTART    0x00000004
  30. #define SA_SIGINFO    0x00000008
  31. #define SA_NODEFER    0x00000010
  32.  
  33. /* these are only valid for SIGCLD */
  34. #define SA_NOCLDWAIT    0x00010000    /* don't save zombie children     */
  35. #define SA_NOCLDSTOP    0x00020000    /* don't send job control SIGCLD's */
  36.  
  37. #endif /* _SYS_SIGACTION_H */
  38.