home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 6 / Sonderheft_6-96.iso / demo-versionen / stormc_v1.05-demo / include / signal.h < prev    next >
C/C++ Source or Header  |  1996-11-03  |  576b  |  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.0
  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.