Namespaces
Variants
Views
Actions

Talk:cpp/utility/program/abort

From cppreference.com

I noticed that the example provided does not use abort() somewhere. I would correct it, but I don't feel proficient enough. - 46.190.85.136 09:30, 13 June 2014 (PDT)

easy fix, actually, thanks for bringing it up. --Cubbi (talk) 09:44, 13 June 2014 (PDT)

[edit] abort() returning?

When SIGABRT is being caught by a signal handler passed to std::signal and the handler does not return does abort() return? In this case the noreturn attribute would cause undefined behavior.

POSIX says "The abort() function shall override blocking or ignoring the SIGABRT signal.". It's worth noting here, actually. --Cubbi (talk) 06:25, 5 July 2017 (PDT)