kolibrios-gitea/contrib/media/updf/include/signal.h
right-hearted 4f7ee97ec9 uPDF with buttons
git-svn-id: svn://kolibrios.org@4680 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-22 21:00:40 +00:00

23 lines
844 B
C

/*---------------------------------------------------------------------------*/
/* signal.h - signal header file */
/*---------------------------------------------------------------------------*/
#define SIGINT 1
#define SIGILL 2
#define SIGFPE 3
#define SIGSEGV 4
#define SIGTERM 5
#define SIGBREAK 6
#define SIGABRT 7
typedef void (* PFSIG)(int);
#define SIG_DFL ((PFSIG)0)
#define SIG_IGN ((PFSIG)1)
#define SIG_ERR ((PFSIG)-1)
/*---------------------------------------------------------------------------*/
/* function prototypes */
/*---------------------------------------------------------------------------*/
int raise(int sig);
PFSIG signal(int, PFSIG);