ref: f5f308621e268c26b394a989941e582b8e73f4f7
dir: /libc/src/exit.c/
/* See LICENSE file for copyright and license details. */ #include <stdlib.h> #undef exit void (*_atexitf[_ATEXIT_MAX])(void); void exit(int status) { void (**bp)(void); for (bp = _atexitf; bp < &_atexitf[_ATEXIT_MAX] && *bp; ++bp) (*bp)(); _Exit(status); }