You mean crash?
Segfault?
int x= 1/0;
I tried that too, program is still up and running just fine :-/
I guess it's UB so it's not guaranteed to crash
abort() does not exist in my libc and exceptions that are not handled are ignored
Ah, too bad :(
exit() exists btw but simply causes a reboot
What environment is it?
What if try to raise SIGABRT or some other signal? https://en.cppreference.com/w/cpp/utility/program/raise
Signals don't exist on that platform, I am not even sure if that thing runs an operating system 🤔
Обсуждают сегодня