ref: f8e18c25020d34e589f51f0436a62f2284ca2ec3
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(); }