Given the following code:
#include int main() { int *p; p = (int *)malloc(10 * sizeof(int)); while(1); return 0; } <
#include int main() { int *p; p = (int *)malloc(10 * sizeof(int)); while(1); return 0; }
The full explanation of _exit is here:
_exit
http://pubs.opengroup.org/onlinepubs/9699919799/functions/_Exit.html
The same things happen when a process terminates as a result of a fatal signal.