ref: 3d2624f2168d73f53ab04756f79c4e009b3d7916 dir: /lib/c/src/exit.c/
#include <stdlib.h> #undef exit void (*_exitf[_ATEXIT_MAX])(void); unsigned _exitn; void exit(int status) { while (_exitn > 0) (*_exitf[--_exitn])(); _Exit(status); }