What is the most violent way that an application can terminate itself (Linux)
I'd like to emulate violent system shutdown, i.e., to get as close as possible to power outage on an application level. We are talking about C/C++ application on Linux. I need the application to terminate itself.
Currently, I see several options:
What is the best choice?
It is partly a duplicate of this question.