File: //usr/local/ssl/lib/bcc/include/bsd/signal.h
#ifndef _BSD_SIGNAL_H
#define _BSD_SIGNAL_H
/* make sure we get BSD style signals (that don't need to be reset) */
#define __USE_BSD_SIGNAL
#include_next <signal.h>
/* use rough approximation of sigaction to sigvec, not completely safe! */
#define sigvec sigaction
#define sv_mask sa_mask
#define sv_flags sa_flags
#define sv_handler sa_handler
#define sv_onstack sa_mask /* ouch, this one really hurts */
/* BSD uses some non-POSIX signals without ifdefs */
#define SIGSYS SIGUNUSED
/* BSD wants this typedef for signal handlers */
#define sig_t __sighandler_t
#endif /* _BSD_SIGNAL_H */