|
|
1.1 ! root 1: /* ! 2: * error log record ! 3: */ ! 4: ! 5: #define MAXEDATA 112 ! 6: ! 7: struct errhdr { ! 8: char e_1magic, e_2magic; ! 9: char e_len; /* how many bytes of data are valid */ ! 10: char e_unit; /* subdevice number */ ! 11: time_t e_time; /* when error happened */ ! 12: char e_dev[8]; /* device (or other) name */ ! 13: }; ! 14: ! 15: struct errlog { ! 16: struct errhdr e_hdr; ! 17: char e_data[MAXEDATA]; ! 18: }; ! 19: ! 20: #define E_HARD 0200 /* e_len -- unrecovered error */ ! 21: #define E_LEN 0177 /* e_len -- the real length */ ! 22: #define E_1MAGIC 0247 ! 23: #define E_2MAGIC 0145
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.