|
|
1.1 root 1: /*
2: spitbol i/o control blocks
3: */
4:
5: struct bfblk {
6: int typ;
7: int len;
8: int siz;
9: int rem;
10: int off;
11: char buf[1];
12: };
13:
14: struct ioblk {
15: int typ;
16: int len;
17: struct scblk *fnm;
18: int pid;
19: struct bfblk *buf;
20: int fdn;
21: int flg;
22: };
23:
24:
25: #define IO_INP 1
26: #define IO_OUP 2
27: #define IO_APP 4
28: #define IO_OPN 8
29: #define IO_EOF 16
30: #define IO_ERR 32
31: #define IO_SYS 64
32: #define IO_WRC 128
33: #define IO_PIP 256
34: #define IO_DED 512
35:
36: #define RECSIZ 4096
37: #define BUFSIZ 1024
38:
39: struct fcblk {
40: int typ;
41: int len;
42: int rsz;
43: struct ioblk *iob;
44: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.