|
|
1.1 root 1: #include <stdio.h>
2: #include <a.out.h>
3: #include <sys/types.h>
4: #include <sys/stat.h>
5: #include "malloc.h"
6:
7: #define Signal(s, f) (signal(s, SIG_IGN) == SIG_IGN ? SIG_IGN : signal(s, f))
8:
9: #define Read(fd,addr,nchars) (read(fd, addr, nchars) != nchars)
10: #define Write(fd,addr,nchars) (write(fd, addr, nchars) != nchars)
11:
12: typedef struct Adotout {
13: char *name;
14: int fd;
15: struct stat filstat;
16: struct exec hd;
17: int nsymbols;
18: struct nlist *symtab, *symend;
19: int strsize;
20: char *strtab;
21: } Adotout;
22:
23: Adotout *rdout();
24:
25: char tmpnam[32], *prognam;
26:
27: int shrinkflag, gflag, stripflag, strdebug, prtflag, copyrace;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.