I’m trying to do a “full-coverage” of signals by setting the ones I don’t care to ignore and registering the rest to a self-pipe for later processing in an event-loop.
To make sure I’m indeed covering all possible signals, I considered using a switch on the std.posix.SIG/std.c.SIG enums:
switch (std.posix.SIG) {
.INT => {},
//...
}
Unfortunately, this doesn’t seem to be working. Any ideas?