MCPcopy Create free account
hub / github.com/KDE/kdevelop / installSignalHandler

Function installSignalHandler

kdevplatform/shell/core.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void installSignalHandler()
70{
71#ifdef SIGHUP
72 std::signal(SIGHUP, shutdownGracefully);
73#endif
74#ifdef SIGINT
75 std::signal(SIGINT, shutdownGracefully);
76#endif
77#ifdef SIGTERM
78 std::signal(SIGTERM, shutdownGracefully);
79#endif
80}
81
82/**
83 * Initialize per-session temporary directory and ensure its cleanup.

Callers 1

initializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected