Searched refs:mtfd (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/mt/ |
H A D | mt.c | 46 static int print_config(int mtfd); 49 static int status(int mtfd, struct mtget *); 95 int mtfd; in main() local 129 mtfd = open(tape, comp->c_oflag); in main() 130 if (mtfd < 0) { in main() 155 if (ioctl(mtfd, comp->c_code) < 0) { in main() 175 (void) ioctl(mtfd, MTIOCGET, (char *)&mt_status); in main() 176 if (ioctl(mtfd, MTIOCGET, (char *)&mt_status) < 0) { in main() 192 if (ioctl(mtfd, MTIOCLTOP, &mt_com) < 0) { in main() 211 if (ioctl(mtfd, MTIOCLTOP, &mt_com) < 0) { in main() [all …]
|