Initial revision

This commit is contained in:
keie
1984-08-23 13:18:14 +00:00
parent 5db647e661
commit 198da9e822
12 changed files with 329 additions and 0 deletions

19
h/pc_file.h Normal file
View File

@@ -0,0 +1,19 @@
#define WRBIT 0100000
#define TXTBIT 040000
#define EOFBIT 020000
#define ELNBIT 010000
#define WINDOW 04000
#define MAGIC 0252
struct file {
char *ptr;
unsigned flags;
char *fname;
int ufd;
int size;
int count;
int buflen;
char bufadr[512];
};
#define EXTFL(z) ((struct file *)(_hbase + _extfl[z]))