MCPcopy Create free account
hub / github.com/covscript/covscript / signal_handler

Function signal_handler

sources/debugger.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63#include <signal.h>
64
65void signal_handler(int sig)
66{
67 std::cout << "Keyboard Interrupt (Ctrl+C Received)" << std::endl;
68 cs::current_process->raise_sigint();
69}
70
71void activate_sigint_handler()
72{

Callers

nothing calls this directly

Calls 1

raise_sigintMethod · 0.80

Tested by

no test coverage detected