|
|
1.1 root 1: #include <libc.h>
2:
3: extern "C" {
4: extern int __dtors();
5: extern void _main();
6: }
7:
8: void _main()
9: {
10: typedef void (*PFV)();
11: extern PFV _ctors[];
12: for (PFV* pf=_ctors; *pf; pf++) (**pf)();
13: onexit (__dtors);
14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.