pc_file.h 310 B

12345678910111213141516171819
  1. #define WRBIT 0100000
  2. #define TXTBIT 040000
  3. #define EOFBIT 020000
  4. #define ELNBIT 010000
  5. #define WINDOW 04000
  6. #define MAGIC 0252
  7. struct file {
  8. char *ptr;
  9. unsigned flags;
  10. char *fname;
  11. int ufd;
  12. int size;
  13. int count;
  14. int buflen;
  15. char bufadr[512];
  16. };
  17. #define EXTFL(z) ((struct file *)(_hbase + _extfl[z]))