3 ms·
If you want portability, keep in mind that the man pages specify that you should use sigaction instead of signal when using a function as a signal handler rathe
by cinntaile 3y ago
If you want portability, keep in mind that the man pages specify that you should use sigaction instead of signal when using a function as a signal handler rather than SIG_IGN or SIG_DFL. [0]
[0] https://man7.org/linux/man-pages/man2/signal.2.html https://man7.org/linux/man-pages/man2/signal.2.html