|
|
1.1 ! root 1: ! 2: extern void _exit(int); ! 3: extern void _cleanup(); ! 4: typedef void (*PFV)(); ! 5: ! 6: extern void exit(int i) ! 7: { ! 8: extern PFV _dtors[]; ! 9: PFV* pf = _dtors; ! 10: while (*pf) pf++; ! 11: while (_dtors < pf) (**--pf)(); ! 12: _cleanup(); ! 13: _exit(i); ! 14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.