Standards / Extensions | C or C++ | Dependencies |
---|---|---|
both |
#include <__le_api.h>
int __set_exception_handler( void(*exception_handler) (struct __cib *, void *),
void * user_data);
Exception Handlers are invoked for the following conditions:
Exception | Feedback Code | Message Number | Resulting Signal |
Operation | CEE341 | CEE3201S | SIGILL |
Privileged-operation | CEE342 | CEE3202S | SIGILL |
Execute | CEE343 | CEE3203S | SIGILL |
Protection | CEE344 | CEE3204S | SIGSEGV |
Addressing | CEE345 | CEE3205S | SIGSEGV |
Specification | CEE346 | CEE3206S | SIGILL |
Data | CEE347 | CEE3207S | SIGFPE |
Fixed-point overflow Note: Not processed
in a C/C++ application.
|
CEE348 | CEE3208S | SIGFPE |
Fixed-point divide by zero | CEE349 | CEE3209S | SIGFPE |
Decimal overflow exception | CEE34A | CEE3210S | SIGFPE |
Decimal divide by zero | CEE34B | CEE3211S | SIGFPE |
Exponent overflow | CEE34C | CEE3212S | SIGFPE |
Exponent underflow Note: Not processed
in a C/C++ application.
|
CEE34D | CEE3213S | SIGFPE |
Significance Note: Not processed in a C/C++
application.
|
CEE34E | CEE3214S | SIGFPE |
Floating-point divide by zero | CEE34F | CEE3215S | SIGFPE |
IEEE Binary Floating-Point inexact (truncated) | CEE34G | CEE3216S | SIGFPE |
IEEE Binary Floating-Point inexact (incremented) | CEE34H | CEE3217S | SIGFPE |
IEEE Binary Floating-Point exponent underflow | CEE34I | CEE3218S | SIGFPE |
IEEE Binary Floating-Point exponent underflow inexact (truncated) | CEE34J | CEE3219S | SIGFPE |
IEEE Binary Floating-Point exponent underflow inexact (incremented) | CEE34K | CEE3220S | SIGFPE |
IEEE Binary Floating-Point exponent overflow | CEE34L | CEE3221S | SIGFPE |
IEEE Binary Floating-Point exponent overflow inexact (truncated) | CEE34M | CEE3222S | SIGFPE |
IEEE Binary Floating-Point exponent overflow inexact (incremented) | CEE34N | CEE3223S | SIGFPE |
IEEE Binary Floating-Point divide by zero | CEE34O | CEE3224S | SIGFPE |
IEEE Binary Floating-Point invalid operation | CEE34P | CEE3225S | SIGFPE |
Compare and Trap Data Exception | CEE352 | CEE3234S | SIGFPE |
Vector-processing exception of IEEE invalid operation | CEE354 | CEE3236S | SIGFPE |
Vector-processing exception of IEEE division-by-zero | CEE355 | CEE3237S | SIGFPE |
Vector-processing exception of IEEE exponent-overflow | CEE356 | CEE3238S | SIGFPE |
Vector-processing exception of IEEE exponent-underflow | CEE357 | CEE3239S | SIGFPE |
Vector-processing exception of IEEE inexact | CEE358 | CEE3240S | SIGFPE |
Retryable abend | CEE35I | CEE3250C | SIGABND |
void exception_handler(struct __cib * cib, void * user_data);
pthread_exit( (void *) -1);
exit(-1);