Talk:cpp/utility/program/signal
From cppreference.com
Example doesn't use C linkage, while the text suggests that it should. 89.72.99.38 16:44, 27 October 2018 (PDT)
Indeed, the example should be changed. According to the following link, failure to use C linkage results in undefined behavior: https://wiki.sei.cmu.edu/confluence/display/cplusplus/MSC54-CPP.+A+signal+handler+must+be+a+plain+old+function 2600:1702:1DD0:B570:2819:2FA1:A1E9:8219 21:07, 25 March 2020 (PDT)