Skip to content

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
);

Parameters

func (MTY_CrashFunc)

Function called on termination.

opaque (void *)

Passed to func when it is called.

Platform support

Windows   macOS   Android   Linux  

See also

Module: System

Clone this wiki locally