v4k-git-backup/demos/99-crashrpt.c

12 lines
140 B
C
Raw Normal View History

2023-10-26 07:20:59 +00:00
#include "v4k.h"
void handle_crash() {
alert("crash!");
}
int main() {
trap_install();
atexit(handle_crash);
app_crash();
return 0;
}