__reset_exception_handler() — Unregister an exception handler routine

Standards

Standards / Extensions C or C++ Dependencies
  both  

Format

#include <__le_api.h>

int  __reset_exception_handler(void);

General description

A nonstandard function that unregisters the 'Exception Handler' function, that was previously registered via the __set_exception_handler() function, for the current stack frame.

Returned value

If successful, __reset_exception_handler() returns 0. Otherwise, -1 is returned and errno is set to indicate the error. The following is a possible value for errno:
  • EINVAL — No Exception Handler is registered in the current stack frame.

Related information