Lines Matching defs:tapefile
41 static char tapefile[sizeof("/dev/Xrmt/123456789")];
83 sfsprintf(tapefile, sizeof(tapefile), "/dev/rmt/ctape%c%s", mtunit, mtrewind);
84 if (!access(tapefile, F_OK)) return(tapefile);
87 sfsprintf(tapefile, sizeof(tapefile), "/dev/rmt/%c%c%s%s", mtunit, mtdensity, mtbehavior, mtrewind);
88 if (!access(tapefile, F_OK)) return(tapefile);
99 sfsprintf(tapefile, sizeof(tapefile), "/dev/%sst%c", mtrewind, mtunit);
119 sfsprintf(tapefile, sizeof(tapefile), "/dev/%srmt%c", mtrewind, mtunit);
145 sfsprintf(tapefile, sizeof(tapefile), "/dev/rmt%d", mtunit);
147 return(tapefile);