strtape - convert string to tape device pathname
char* strtape(char* s, char** e)
converts the generic tape device specification in the nul-terminated string
to a local tape device pathname.
A pointer to the device pathname is returned.
not 0 then
is set to point to the first unrecognized character in
A tape device specification is composed of
All are optional.
is a unit number in the range
The default unit is
Density may be one of:
for medium, and
The default is
for no-rewind on device close.
The default is to rewind on device close.
The return value points to a static area that is overwritten on each call.