Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 12:53:36 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, cracauer@cons.org, current@FreeBSD.ORG, luoqi@watermarkgroup.com, shocking@prth.pgs.com
Subject:   Re: Floating Point Exceptions, signal handlers & subsequent ops
Message-ID:  <199808270253.MAA15661@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Ah, now I got it.
>
>If sig == SIGFPE, then expect the trap code to be one of FPE_*_TRAP
>values from machine/trap.h, *not* one of the T_* values.

Except this is not implemented.

>Why is this, why two classes of trap codes?

T_* is for the kernel and is unportable.  FPE_* is for the user SIGFPE
handler and is not so unportable in theory.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808270253.MAA15661>