Mail Archives: djgpp/1999/02/02/18:29:16
At 01:24 PM 2/2/99 -0500, you wrote:
>> On architectures where the CPU enforces strict alignment of code and
>> data, is there a fatal signal raised specific to those systems when
>> an alignment fault occurs?
>
>Yes. SIGBUS is common, but it's not defined by POSIX because it's
>implementation dependent.
Why not have an ANSI or at least POSIX signal macro for this, which is
perhaps never raised except explicitly by raise() on some architectures,
but is there to be used on other architectures with strict alignment
requirements?
Do you know of any other common macros for an alignment fault signal?
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." -------------------------------------------------
-- B. Mandelbrot |http://surf.to/pgd.net
_____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|
- Raw text -