@Heywood Floyd: that works, but what exactly am I permitted to use inside the handler, as I assume it's a C function? This might be a useless question as non-atomic operations touching global data aren't supposed to be in signal handlers, but I'm still interested to know.<br>
<br>@<span class="gD">Alex Rønne Petersen: what exactly is </span><a href="https://github.com/D-Programming-Language/druntime/blob/master/src/core/sys/posix/signal.d" target="_blank">https://github.com/D-Programming-Language/druntime/blob/master/src/core/sys/posix/signal.d</a>? I don't see it mentioned anywhere on <a href="http://dlang.org">dlang.org</a>? :/ I'm still new to all this stuff. When programming in C, everything I ever needed was in the default repositories of my Linux distribution, so I neved needed to worry about anything. :)<br>
<br>Thanks,<br>Matej<br>