ref: dafc7b4128023928611008473fd07e0ab7a0bbd8
dir: /tests/libc/execute/0001-abort.c/
#include <assert.h> #include <stdio.h> #include <signal.h> #include <stdlib.h> void handler(int dummy) { _Exit(0); } int main(void) { printf("aborting\n"); assert(signal(SIGABRT, handler) != SIG_ERR); abort(); printf("borning\n"); return 0; }