Function psyiage_crash_enable_report_on_fatal_signal¶
Defined in File psyiagesdk.h
Function Documentation¶
-
PSYIAGE_API int
psyiage_crash_enable_report_on_fatal_signal
(psyiage_handle handle, int enable)¶ Enable crash report generation on fatal signal.
Install/uninstall signal handlers to catch fatal signals from the O/S for generating crash reports
- Return
If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code
- Parameters
handle
: - A handle to the psyiage instanceenable
: - If non zero, install the signal handlers. Otherwise, use the default signal handlers.