summaryrefslogtreecommitdiff
path: root/src/exit/quick_exit.c
blob: ada91348bf659a16af26a99c1667976c7b497244 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdlib.h>
#include "libc.h"

static void dummy() { }
weak_alias(dummy, __funcs_on_quick_exit);

_Noreturn void quick_exit(int code)
{
	__funcs_on_quick_exit();
	_Exit(code);
}