-
Notifications
You must be signed in to change notification settings - Fork 53
MTY_SetCrashFunc
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Set a function to be called just before abnormal termination.
This will attempt to hook SIGKILL
, SIGTERM
, and any Windows specific exception behavior that may trigger a crash.
void MTY_SetCrashFunc(
MTY_CrashFunc func,
void * opaque
);
func
(MTY_CrashFunc
)
Function called on termination.
opaque
(void *
)
Passed to func
when it is called.