|
|
researchv9-SUN3(old)
#include <libc.h>
int (*_onexitfns[NONEXIT])();
onexit(f)
int (*f)();
{
int i;
for(i=0; i<NONEXIT; i++)
if(!_onexitfns[i]){
_onexitfns[i] = f;
return(1);
}
return(0);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.