|
|
1.1 root 1: #include <libc.h>
2:
3: int (*_onexitfns[NONEXIT])();
4:
5: onexit(f)
6: int (*f)();
7: {
8: int i;
9:
10: for(i=0; i<NONEXIT; i++)
11: if(!_onexitfns[i]){
12: _onexitfns[i] = f;
13: return(1);
14: }
15: return(0);
16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.