Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
C condition handling semantics z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode SA38-0689-00 |
|||||||||||||||||||||||||||||||||||||
This section describes C condition handling in an POSIX(OFF) environment. If you run applications that contain POSIX functions, you should also read Language Environment and POSIX signal handling interactions, which discusses the interaction between POSIX signal handling and Language Environment condition handling. C employs a global condition handling model, which, on initialization, defines the actions that are taken when a condition is raised. The actions defined by C apply to an entire enclave, not just to a routine or block within an enclave. You can alter a specific action that the C condition handler takes when a condition is raised, however, by coding signal() function calls in your applications. C recognizes a number of errors; some correspond directly to the errors detected by the hardware or the operating system, and some are unique to C. All actions for condition handling are controlled by the contents of the C global error table. Table 1 contains default C-language error handling semantics.
|
Copyright IBM Corporation 1990, 2014
|