Comparison of C-Language Environment terminology
The term signal is defined differently
under C than under Language Environment, and you need to know the distinction to
understand how C and Language Environment condition handling interact. Here is a
comparison of the terminology Language Environment and C use to describe the same
general idea:
- Using Language Environment services, you register a condition handler by using CEEHDLR, and you raise a condition by using CEESGL.
- Using C functions, you register a signal
handler by using the signal() function, and you raise a signal using the raise() function.
You can think of signal as the C term for a Language Environment condition. To simplify the following discussion, the term condition is used in place of signal.
C signal handling functions are recognized in C++ applications. You can write a condition handling routine in C++ using C signal() and raise() functions. C++-unique exception handling functions are discussed in C++ condition handling semantics.