ref: f9eff8349233561e3a8be267dd92876d55983593
dir: /libc/src/exit.c/
/* See LICENSE file for copyright and license details. */ #include <stdlib.h> #undef exit void (*_exitf[_ATEXIT_MAX])(void); unsigned _exitn; void exit(int status) { while (_exitn > 0) (*_exitf[--_exitn])(); _Exit(status); }