4 ms·
Why wouldn't it be? Why would a compiler know what a signal handler is?
by alexbakker 9y ago
Why wouldn't it be? Why would a compiler know what a signal handler is?
- mikeash 9y agoBecause signals and signal handlers are part of the language spec.
- LukeShu 9y agoI was going to disagree and say that they are part of POSIX, not part of C99; but they are indeed part of C99, section 7.14.1 specifically.
- mikeash 9y agoYeah, it’s a little surprising which parts are where sometimes, and if you spent most of your time on a POSIX system you can easily end up with the wrong assumptions.