signalHandler

Called when a signal is raised, usually SIGINT.

Sets the globalAbort global to Yes.abort so other parts of the program knows to gracefully shut down.

private extern (C) nothrow @nogc @system
void
signalHandler
(
int sig
)

Parameters

sig int

Integer value of the signal raised.