home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / BASH_112.ZIP / BASH-112.TAR / bash-1.12 / trap.h < prev    next >
C/C++ Source or Header  |  1992-01-01  |  361b  |  21 lines

  1. /* trap.h -- data structures used in the trap mechanism. */
  2.  
  3. #ifndef NSIG
  4. #include <signal.h>
  5. #endif
  6.  
  7. #ifndef NSIG
  8. #define NSIG 64
  9. #endif
  10.  
  11. #define NO_SIG -1
  12. #define DEFAULT_SIG SIG_DFL
  13. #define IGNORE_SIG  SIG_IGN
  14.  
  15. #define signal_object_p(x) (decode_signal (x) != NO_SIG)
  16.  
  17. extern char *trap_list[NSIG];
  18. extern char *signal_name ();
  19. extern int signal_decode ();
  20.  
  21.