Allows kernel exception handlers to retrieve additional exception information.
#include <sys/types.h> #include <sys/errno.h> #include <sys/except.h>
void getexcept (exceptp) struct except *exceptp;
The getexcept kernel service provides exception handlers the capability to retrieve additional information concerning the exception from the machine-state save area.
The getexcept service should only be used by exception handlers when called to handle an exception. The contents of the structure pointed at by the exceptp parameter is platform-specific, but is described in the /usr/include/sys/except.h file for each type of exception that provides additional data. This data is typically included in any error logging data for the exception. It can be also used to attempt to handle or recover from the exception.
The getexcept kernel service can be called from either the process or interrupt environment. It should be called only when handling an exception.
The getexcept service has no return values.
The getexcept kernel service is part of Base Operating System (BOS) Runtime.
Kernel Extension and Device Driver Management Kernel Services and in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.