home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 38.ddi / root.3 / usr / add-on / include / sys / signal.h / signal.h
Encoding:
C/C++ Source or Header  |  1990-10-02  |  1.6 KB  |  49 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1988 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. #ident    "@(#)/usr/add-on/include/sys/signal.h.sl 1.2 5.0 08/27/90 55187 AT&T-USO 1.3"
  11. /*    Convergent Technologies - System V - May 1983    */
  12.  
  13. #ifndef signal_h
  14. #define signal_h
  15.  
  16. #define    SIGHUP    1    /* hangup */
  17. #define    SIGINT    2    /* interrupt (rubout) */
  18. #define    SIGQUIT    3    /* quit (ASCII FS) */
  19. #define    SIGILL    4    /* illegal instruction (not reset when caught)*/
  20. #define    SIGTRAP    5    /* trace trap (not reset when caught) */
  21. #define    SIGIOT    6    /* IOT instruction */
  22. #define    SIGEMT    7    /* EMT instruction */
  23. #define    SIGFPE    8    /* floating point exception */
  24. #define    SIGKILL    9    /* kill (cannot be caught or ignored) */
  25. #define    SIGBUS    10    /* bus error */
  26. #define    SIGSEGV    11    /* segmentation violation */
  27. #define    SIGSYS    12    /* bad argument to system call */
  28. #define    SIGPIPE    13    /* write on a pipe with no one to read it */
  29. #define    SIGALRM    14    /* alarm clock */
  30. #define    SIGTERM    15    /* software termination signal from kill */
  31. #define    SIGUSR1    16    /* user defined signal 1 */
  32. #define    SIGUSR2    17    /* user defined signal 2 */
  33. #define    SIGCLD    18    /* death of a child */
  34. #define    SIGPWR    19    /* power-fail restart */
  35. #define SIGWIND    20    /* window change */
  36. #define SIGPHONE 21    /* handset, line status change    */
  37.  
  38.  
  39. #define    NSIG    32
  40.  
  41. #define    SIG_DFL    (int (*)())0
  42. #if lint
  43. #define    SIG_IGN    (int (*)())0
  44. #else
  45. #define    SIG_IGN    (int (*)())1
  46. #endif
  47.  
  48. #endif /* signal_h */
  49.