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