...
When the handler is called, it is passed the following arguments in the following order: #A
- A pointer to a character string describing the runtime-constraint violation.
...
- A null pointer or a pointer to an implementation defined object.
...
- If the function calling the handler has a return type declared as
errno_t
, the return value of the function is passed. Otherwise, a positive value of type
errno_t
is passed.
A runtime-constraint handler is registered by calling the set_constraint_handler_s()
function.
...