Lines Matching defs:mt
233 struct mtget mt;
251 if (rmtstatus(&mt) < 0) {
275 rmtstatus(struct mtget *mt)
277 char *buf = (char *)mt;
281 return (rmtstatus_extended(mt));
287 if ((unsigned)n > sizeof (*mt)) {
306 rmtstatus_extended(struct mtget *mt)
308 if ((mt->mt_type = rmtcall("status", "sT")) == -1)
310 mt->mt_dsreg = rmtcall("status", "sD");
311 mt->mt_erreg = rmtcall("status", "sE");
312 mt->mt_resid = rmtcall("status", "sR");
313 mt->mt_fileno = rmtcall("status", "sF");
314 mt->mt_blkno = rmtcall("status", "sB");
315 mt->mt_flags = rmtcall("status", "sf");
316 mt->mt_bf = rmtcall("status", "sb");