#ifndef _BITS_SIGINFO_CONSTS_H
#define _BITS_SIGINFO_CONSTS_H 1
#ifndef _SIGNAL_H
#error "Don't include <bits/siginfo-consts.h> directly; use <signal.h> instead."
#endif
#include <bits/siginfo-arch.h>
#ifndef __SI_ASYNCIO_AFTER_SIGIO
# define __SI_ASYNCIO_AFTER_SIGIO 1
#endif
enum
{
SI_ASYNCNL = -60,
SI_DETHREAD = -7,
SI_TKILL,
SI_SIGIO,
#if __SI_ASYNCIO_AFTER_SIGIO
SI_ASYNCIO,
SI_MESGQ,
SI_TIMER,
#else
SI_MESGQ,
SI_TIMER,
SI_ASYNCIO,
#endif
SI_QUEUE,
SI_USER,
SI_KERNEL = 0x80
#define SI_ASYNCNL SI_ASYNCNL
#define SI_DETHREAD SI_DETHREAD
#define SI_TKILL SI_TKILL
#define SI_SIGIO SI_SIGIO
#define SI_ASYNCIO SI_ASYNCIO
#define SI_MESGQ SI_MESGQ
#define SI_TIMER SI_TIMER
#define SI_ASYNCIO SI_ASYNCIO
#define SI_QUEUE SI_QUEUE
#define SI_USER SI_USER
#define SI_KERNEL SI_KERNEL
};
# if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
enum
{
ILL_ILLOPC = 1,
# define ILL_ILLOPC ILL_ILLOPC
ILL_ILLOPN,
# define ILL_ILLOPN ILL_ILLOPN
ILL_ILLADR,
# define ILL_ILLADR ILL_ILLADR
ILL_ILLTRP,
# define ILL_ILLTRP ILL_ILLTRP
ILL_PRVOPC,
# define ILL_PRVOPC ILL_PRVOPC
ILL_PRVREG,
# define ILL_PRVREG ILL_PRVREG
ILL_COPROC,
# define ILL_COPROC ILL_COPROC
ILL_BADSTK,
# define ILL_BADSTK ILL_BADSTK
ILL_BADIADDR
# define ILL_BADIADDR ILL_BADIADDR
};
enum
{
FPE_INTDIV = 1,
# define FPE_INTDIV FPE_INTDIV
FPE_INTOVF,
# define FPE_INTOVF FPE_INTOVF
FPE_FLTDIV,
# define FPE_FLTDIV FPE_FLTDIV
FPE_FLTOVF,
# define FPE_FLTOVF FPE_FLTOVF
FPE_FLTUND,
# define FPE_FLTUND FPE_FLTUND
FPE_FLTRES,
# define FPE_FLTRES FPE_FLTRES
FPE_FLTINV,
# define FPE_FLTINV FPE_FLTINV
FPE_FLTSUB,
# define FPE_FLTSUB FPE_FLTSUB
FPE_FLTUNK = 14,
# define FPE_FLTUNK FPE_FLTUNK
FPE_CONDTRAP
# define FPE_CONDTRAP FPE_CONDTRAP
};
enum
{
SEGV_MAPERR = 1,
# define SEGV_MAPERR SEGV_MAPERR
SEGV_ACCERR,
# define SEGV_ACCERR SEGV_ACCERR
SEGV_BNDERR,
# define SEGV_BNDERR SEGV_BNDERR
SEGV_PKUERR,
# define SEGV_PKUERR SEGV_PKUERR
SEGV_ACCADI,
# define SEGV_ACCADI SEGV_ACCADI
SEGV_ADIDERR,
# define SEGV_ADIDERR SEGV_ADIDERR
SEGV_ADIPERR,
# define SEGV_ADIPERR SEGV_ADIPERR
SEGV_MTEAERR,
# define SEGV_MTEAERR SEGV_MTEAERR
SEGV_MTESERR
# define SEGV_MTESERR SEGV_MTESERR
};
enum
{
BUS_ADRALN = 1,
# define BUS_ADRALN BUS_ADRALN
BUS_ADRERR,
# define BUS_ADRERR BUS_ADRERR
BUS_OBJERR,
# define BUS_OBJERR BUS_OBJERR
BUS_MCEERR_AR,
# define BUS_MCEERR_AR BUS_MCEERR_AR
BUS_MCEERR_AO
# define BUS_MCEERR_AO BUS_MCEERR_AO
};
# endif
# ifdef __USE_XOPEN_EXTENDED
enum
{
TRAP_BRKPT = 1,
# define TRAP_BRKPT TRAP_BRKPT
TRAP_TRACE,
# define TRAP_TRACE TRAP_TRACE
TRAP_BRANCH,
# define TRAP_BRANCH TRAP_BRANCH
TRAP_HWBKPT,
# define TRAP_HWBKPT TRAP_HWBKPT
TRAP_UNK
# define TRAP_UNK TRAP_UNK
};
# endif
# if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
enum
{
CLD_EXITED = 1,
# define CLD_EXITED CLD_EXITED
CLD_KILLED,
# define CLD_KILLED CLD_KILLED
CLD_DUMPED,
# define CLD_DUMPED CLD_DUMPED
CLD_TRAPPED,
# define CLD_TRAPPED CLD_TRAPPED
CLD_STOPPED,
# define CLD_STOPPED CLD_STOPPED
CLD_CONTINUED
# define CLD_CONTINUED CLD_CONTINUED
};
enum
{
POLL_IN = 1,
# define POLL_IN POLL_IN
POLL_OUT,
# define POLL_OUT POLL_OUT
POLL_MSG,
# define POLL_MSG POLL_MSG
POLL_ERR,
# define POLL_ERR POLL_ERR
POLL_PRI,
# define POLL_PRI POLL_PRI
POLL_HUP
# define POLL_HUP POLL_HUP
};
# endif
#ifdef __USE_GNU
# include <bits/siginfo-consts-arch.h>
#endif
#endif