|
|
1.1 root 1: /*
2: * other
3: */
4: FILE* popen(char*, char*);
5: int pclose(FILE*);
6: long filesize(int fd);
7: int open(char *, int);
8: int read(int, char *, int);
9: int lseek(int, long, int);
10: int close(int);
11: int getpid(void);
12:
13: /*
14: * c1.c
15: */
16: void init0(void);
17: void init2(void);
18: void cvtime(void);
19: void errprint(void);
20: int control(int a, int b);
21: void casept(void);
22: int getrq(void);
23: Tchar getch(void);
24: void setxon(void);
25: Tchar getch0(void);
26: void pushback(Tchar *b);
27: void cpushback(char *b);
28: int nextfile(void);
29: int popf(void);
30: void flushi(void);
31: int getach(void);
32: void casenx(void);
33: int getname(void);
34: void caseso(void);
35: void caself(void);
36: void casecf(void);
37: void getline(char *s, int n);
38: void casesy(void);
39: void getpn(char *a);
40: void setrpt(void);
41:
42: /*
43: * n2.c
44: */
45: int pchar(Tchar i);
46: void pchar1(Tchar i);
47: int pchar2(Tchar i);
48: int flusho(void);
49: void casedone(void);
50: void caseex(void);
51: void done(int x);
52: void done1(int x);
53: void done2(int x);
54: void done3(int x);
55: void edone(int x);
56: void casepi(void);
57:
58: /*
59: * c3.c
60: */
61: void blockinit(void);
62: void caseig(void);
63: void casern(void);
64: void maddhash(Contab *rp);
65: void munhash(Contab *mp);
66: void mrehash(void);
67: void caserm(void);
68: void caseas(void);
69: void caseds(void);
70: void caseam(void);
71: void casede(void);
72: int findmn(int i);
73: void clrmn(int i);
74: Offset finds(int mn);
75: int skip(void);
76: int copyb(void);
77: void copys(void);
78: Offset alloc(void);
79: void ffree(Offset i);
80: void wbf(Tchar i);
81: Tchar rbf(void);
82: Tchar popi(void);
83: Offset pushi(Offset newip, int mname);
84: void* setbrk(int x);
85: int getsn(void);
86: Offset setstr(void);
87: void collect(void);
88: void seta(void);
89: void caseda(void);
90: void casedi(void);
91: void casedt(void);
92: void casetl(void);
93: void casepc(void);
94: void casepm(void);
95: void stackdump(void);
96:
97: /*
98: * c4.c
99: */
100: void setn(void);
101: int wrc(Tchar i);
102: void setn1(int i, int form, Tchar bits);
103: void nrehash(void);
104: void nunhash(Numtab *rp);
105: int findr(int i);
106: int usedr(int i);
107: int fnumb(int i, int (*f)(Tchar));
108: int decml(int i, int (*f)(Tchar));
109: int roman(int i, int (*f)(Tchar));
110: int roman0(int i, int (*f)(Tchar), char *onesp, char *fivesp);
111: int abc(int i, int (*f)(Tchar));
112: int abc0(int i, int (*f)(Tchar));
113: long atoi0(void);
114: long ckph(void);
115: long atoi1(Tchar ii);
116: void caserr(void);
117: void casenr(void);
118: void caseaf(void);
119: void setaf(void);
120: int vnumb(int *i);
121: int hnumb(int *i);
122: int inumb(int *n);
123: int quant(int n, int m);
124:
125: /*
126: * c5.c
127: */
128: void casead(void);
129: void casena(void);
130: void casefi(void);
131: void casenf(void);
132: void casers(void);
133: void casens(void);
134: int chget(int c);
135: void casecc(void);
136: void casec2(void);
137: void casehc(void);
138: void casetc(void);
139: void caselc(void);
140: void casehy(void);
141: int max(int aa, int bb);
142: void casenh(void);
143: void casece(void);
144: void casein(void);
145: void casell(void);
146: void caselt(void);
147: void caseti(void);
148: void casels(void);
149: void casepo(void);
150: void casepl(void);
151: void casewh(void);
152: void casech(void);
153: int findn(int i);
154: void casepn(void);
155: void casebp(void);
156: void casextm(void);
157: void casetm(void);
158: void casetm1(int ab);
159: void casesp(void);
160: void casesp1(int a);
161: void casert(void);
162: void caseem(void);
163: void casefl(void);
164: void caseev(void);
165: void envcopy(Env *e1, Env *e2);
166: void caseel(void);
167: void caseie(void);
168: void casexif(void);
169: void caseif(void);
170: void caseif1(int);
171: void eatblk(int inblk);
172: int cmpstr(Tchar c);
173: void caserd(void);
174: int rdtty(void);
175: void caseec(void);
176: void caseeo(void);
177: void caseta(void);
178: void casene(void);
179: void casetr(void);
180: void casecu(void);
181: void caseul(void);
182: void caseuf(void);
183: void caseit(void);
184: void casemc(void);
185: void casemk(void);
186: void casesv(void);
187: void caseos(void);
188: void casenm(void);
189: void getnm(int *p, int min);
190: void casenn(void);
191: void caseab(void);
192: void save_tty(void);
193: void restore_tty(void);
194: void set_tty(void);
195: void echo_off(void);
196: void echo_on(void);
197:
198: /*
199: * t6.c
200: */
201: int t_width(Tchar j);
202: void zapwcache(int s);
203: int onfont(int n, int f);
204: int getcw(int i);
205: void xbits(Tchar i, int bitf);
206: Tchar t_setch(int c);
207: Tchar t_setabs(void);
208: int t_findft(int i);
209: void caseps(void);
210: void casps1(int i);
211: int findps(int i);
212: void t_mchbits(void);
213: void t_setps(void);
214: Tchar t_setht(void);
215: Tchar t_setslant(void);
216: void caseft(void);
217: void t_setfont(int a);
218: void t_setwd(void);
219: Tchar t_vmot(void);
220: Tchar t_hmot(void);
221: Tchar t_mot(void);
222: Tchar t_sethl(int k);
223: Tchar t_makem(int i);
224: Tchar getlg(Tchar i);
225: void caselg(void);
226: void casefp(void);
227: char *strdup(char *);
228: int setfp(int pos, int f, char *truename, int print);
229: void casecs(void);
230: void casebd(void);
231: void casevs(void);
232: void casess(void);
233: Tchar t_xlss(void);
234: char* unpair(int i);
235: void outascii(Tchar i);
236:
237: /*
238: * c7.c
239: */
240: void tbreak(void);
241: void donum(void);
242: void text(void);
243: void nofill(void);
244: void callsp(void);
245: void ckul(void);
246: void storeline(Tchar c, int w);
247: void newline(int a);
248: int findn1(int a);
249: void chkpn(void);
250: int findt(int a);
251: int findt1(void);
252: void eject(Stack *a);
253: int movword(void);
254: void horiz(int i);
255: void setnel(void);
256: int getword(int x);
257: void storeword(Tchar c, int w);
258: Tchar gettch(void);
259:
260: /*
261: * c8.c
262: */
263: void hyphen(Tchar *wp);
264: int punct(Tchar i);
265: int alph(int i);
266: void caseha(void);
267: void caseht(void);
268: void casehw(void);
269: int exword(void);
270: int suffix(void);
271: int maplow(int i);
272: int vowel(int i);
273: Tchar* chkvow(Tchar *w);
274: void digram(void);
275: int dilook(int a, int b, char t[26][13]);
276:
277: /*
278: * c9.c
279: */
280: Tchar setz(void);
281: void setline(void);
282: int eat(int c);
283: void setov(void);
284: void setbra(void);
285: void setvline(void);
286: void setdraw(void);
287: void casefc(void);
288: Tchar setfield(int x);
289:
290: /*
291: * t10.c
292: */
293: void t_ptinit(void);
294: void t_specnames(void);
295: void t_ptout(Tchar i);
296: int ptout0(Tchar *pi);
297: void ptflush(void);
298: void ptps(void);
299: void ptfont(void);
300: void ptfpcmd(int f, char *s, char *fn);
301: void t_ptlead(void);
302: void ptesc(void);
303: void ptpage(int n);
304: void pttrailer(void);
305: void ptstop(void);
306: void t_ptpause(void);
307:
308: /*
309: * t11.c
310: */
311: int getdesc(char *name);
312: int getfont(char *name, int pos);
313: int chindex(char *s);
314: int chadd(char *s);
315: char* chname(int n);
316: int getlig(FILE *fin);
317:
318: /*
319: * n6.c
320: */
321: int n_width(Tchar j);
322: Tchar n_setch(int c);
323: Tchar n_setabs(void);
324: int n_findft(int i);
325: void n_mchbits(void);
326: void n_setps(void);
327: Tchar n_setht(void);
328: Tchar n_setslant(void);
329: void n_caseft(void);
330: void n_setfont(int a);
331: void n_setwd(void);
332: Tchar n_vmot(void);
333: Tchar n_hmot(void);
334: Tchar n_mot(void);
335: Tchar n_sethl(int k);
336: Tchar n_makem(int i);
337: void n_casefp(void);
338: void n_casebd(void);
339: void n_casevs(void);
340: Tchar n_xlss(void);
341:
342: /*
343: * n10.c
344: */
345: void n_ptinit(void);
346: char* skipstr(char *s);
347: char* getstr(char *s, char *t);
348: char* getint(char *s, int *pn);
349: void twdone(void);
350: void n_specnames(void);
351: int findch(char *s);
352: void n_ptout(Tchar i);
353: void ptout1(void);
354: char* plot(char *x);
355: void move(void);
356: void n_ptlead(void);
357: void n_ptpause(void);
358:
359: /*
360: * indirect calls on TROFF/!TROFF. these are variables!
361: */
362: extern Tchar (*hmot)(void);
363: extern Tchar (*makem)(int i);
364: extern Tchar (*setabs)(void);
365: extern Tchar (*setch)(int c);
366: extern Tchar (*sethl)(int k);
367: extern Tchar (*setht)(void);
368: extern Tchar (*setslant)(void);
369: extern Tchar (*vmot)(void);
370: extern Tchar (*xlss)(void);
371: extern int (*findft)(int i);
372: extern int (*width)(Tchar j);
373: extern void (*mchbits)(void);
374: extern void (*ptlead)(void);
375: extern void (*ptout)(Tchar i);
376: extern void (*ptpause)(void);
377: extern void (*setfont)(int a);
378: extern void (*setps)(void);
379: extern void (*setwd)(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.