MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/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 */