* new constants for si_code field for FPU signals (required by commit 1710)

git-svn-id: trunk@1712 -
This commit is contained in:
tom_at_work 2005-11-10 15:04:28 +00:00
parent 745cafdc70
commit d54dbdf9b6

View File

@ -118,11 +118,20 @@ Const
SIGUNUSED = 31;
{$endif cpusparc}
{ si_code field values for tsiginfo.si_code when si_signo = SIGFPE }
const
FPE_INTDIV = 1; { integer divide by zero }
FPE_INTOVF = 2; { integer overflow }
FPE_FLTDIV = 3; { floating point divide by zero }
FPE_FLTOVF = 4; { floating point overflow }
FPE_FLTUND = 5; { floating point underflow }
FPE_FLTRES = 6; { floating point inexact result }
FPE_FLTINV = 7; { floating point invalid operation }
FPE_FLTSUB = 8; { floating point subscript out of range }
const
SI_PAD_SIZE = ((128 div sizeof(longint)) - 3);
type
SigSet = array[0..wordsinsigset-1] of cuLong;
sigset_t= SigSet;