home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / add-on / include / sys / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-19  |  1.8 KB  |  50 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ident    "@(#)libetitam:sys/signal.h    1.2"
  12. /*    Convergent Technologies - System V - May 1983    */
  13.  
  14. #ifndef signal_h
  15. #define signal_h
  16.  
  17. #define    SIGHUP    1    /* hangup */
  18. #define    SIGINT    2    /* interrupt (rubout) */
  19. #define    SIGQUIT    3    /* quit (ASCII FS) */
  20. #define    SIGILL    4    /* illegal instruction (not reset when caught)*/
  21. #define    SIGTRAP    5    /* trace trap (not reset when caught) */
  22. #define    SIGIOT    6    /* IOT instruction */
  23. #define    SIGEMT    7    /* EMT instruction */
  24. #define    SIGFPE    8    /* floating point exception */
  25. #define    SIGKILL    9    /* kill (cannot be caught or ignored) */
  26. #define    SIGBUS    10    /* bus error */
  27. #define    SIGSEGV    11    /* segmentation violation */
  28. #define    SIGSYS    12    /* bad argument to system call */
  29. #define    SIGPIPE    13    /* write on a pipe with no one to read it */
  30. #define    SIGALRM    14    /* alarm clock */
  31. #define    SIGTERM    15    /* software termination signal from kill */
  32. #define    SIGUSR1    16    /* user defined signal 1 */
  33. #define    SIGUSR2    17    /* user defined signal 2 */
  34. #define    SIGCLD    18    /* death of a child */
  35. #define    SIGPWR    19    /* power-fail restart */
  36. #define SIGWIND    20    /* window change */
  37. #define SIGPHONE 21    /* handset, line status change    */
  38.  
  39.  
  40. #define    NSIG    32
  41.  
  42. #define    SIG_DFL    (int (*)())0
  43. #if lint
  44. #define    SIG_IGN    (int (*)())0
  45. #else
  46. #define    SIG_IGN    (int (*)())1
  47. #endif
  48.  
  49. #endif /* signal_h */
  50.