MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / signal_handler

Function signal_handler

src/util.cpp:66–71  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

64
65////////////////////////////////////////////////////////////////////////////////
66static void signal_handler(int s) {
67 if (s == SIGINT) {
68 std::cout << "\n\nInterrupted: No changes made.\n";
69 exit(1);
70 }
71}
72
73////////////////////////////////////////////////////////////////////////////////
74// 0 = no

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected