home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / bsd / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  603 b   |  26 lines

  1. #ifndef _BSD_SIGNAL_H
  2. #define _BSD_SIGNAL_H
  3.  
  4. /* make sure we get BSD style signals (that don't need to be reset) */
  5.  
  6. #define __USE_BSD_SIGNAL
  7. #include_next <signal.h>
  8.  
  9. /* use rough approximation of sigaction to sigvec, not completely safe! */
  10.  
  11. #define sigvec        sigaction
  12. #define sv_mask        sa_mask
  13. #define sv_flags    sa_flags
  14. #define sv_handler    sa_handler
  15. #define sv_onstack    sa_mask /* ouch, this one really hurts */
  16.  
  17. /* BSD uses some non-POSIX signals without ifdefs */
  18.  
  19. #define SIGSYS        SIGUNUSED
  20.  
  21. /* BSD wants this typedef for signal handlers */
  22.  
  23. #define sig_t        __sighandler_t 
  24.  
  25. #endif /* _BSD_SIGNAL_H */
  26.