rmtopen
int rmtopen(const char *, int);
while (rmtopen(tape, 0) < 0)
while ((tapefd = (host ? rmtopen(tape, 2) :
int rmtopen(char *, int);
mt = rmtopen(magtape, 0);
mt = rmtopen(magtape, 0);