MCPcopy Create free account
hub / github.com/boostorg/stacktrace / my_signal_handler

Function my_signal_handler

example/debug_function.cpp:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24void my_signal_handler(int /*signum*/) {
25 std::exit(1);
26}
27
28int main() {
29 ::signal(SIGSEGV, &my_signal_handler);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected