|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1326 (0x52e)
Types: TextFile
Notes: UNIX file
Names: »mtio.h«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/include/sys/mtio.h«
/*
* Streamer tape IO control.
*/
/* IO control commands */
#define MTIOCTOP (('m'<<8)|1) /* do a tape operation */
#define MTIOCGET (('m'<<8)|2) /* get tape status */
#define MTIOCZERO (('m'<<8)|10) /* clear tape status */
/* tape operation parameters */
struct mtop {
short mt_op; /* operations defined below */
int mt_count; /* how many of them */
};
/* codes for operations */
#define MTWEOF 0 /* write an end-of-file record */
#define MTFSF 1 /* forward space file */
#define MTBSF 2 /* backward space file */
#define MTFSR 3 /* forward space record */
#define MTBSR 4 /* backward space record */
#define MTREW 5 /* rewind */
#define MTOFFL 6 /* rewind and put the drive offline */
#define MTNOP 7 /* no operation, sets status only */
#define MTRETEN 100 /* retension tape */
#define MTERASE 101 /* erase whole tape */
#define MTDISPL 102 /* change display indicator */
/* structure for last error on drive */
struct mtget {
short mt_type; /* only 1 type for us */
char mt_key; /* sense key */
char mt_ivalid; /* info bytes valid */
int mt_info; /* usually a count of something */
unsigned char mt_flags; /* flags defined below */
};
#define MT_2ST 01 /* TEAC streamer */
#define MTF_PARITY (1<<0)
#define MTF_HOLE (1<<1)
#define MTF_STALL (1<<2)
#define MTF_EOM (1<<6)
#define MTF_FMK (1<<7)