home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_3.DMS / in.adf / C-Incl.Lha / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-13  |  576 b   |  37 lines

  1. #ifndef _INCLUDE_SIGNAL_H
  2. #define _INCLUDE_SIGNAL_H
  3.  
  4. /*
  5. **  $VER: signal.h 1.0 (18.1.96)
  6. **  StormC Release 1.1
  7. **
  8. **  '(C) Copyright 1995 Haage & Partner Computer GmbH'
  9. **     All Rights Reserved
  10. */
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. void (*signal(int, void(*)(int)))(int);
  17. int raise(int);
  18.  
  19. typedef int sig_atomic_t;
  20.  
  21. #define SIGTERM 0
  22. #define SIGABRT 1
  23. #define SIGFPE  2
  24. #define SIGILL  3
  25. #define SIGINT  4
  26. #define SIGSEGV 5
  27.  
  28. #define SIG_IGN ((void(*)(int))  0)
  29. #define SIG_DFL ((void(*)(int))  1)
  30. #define SIG_ERR ((void(*)(int)) -1)
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36. #endif
  37.