xref: /titanic_41/usr/src/lib/libast/common/man/strtape.3 (revision 4445fffbbb1ea25fd0e9ea68b9380dd7a6709025)
.fp 5 CW .. .nr ;G \\n(.f .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" \\*(;G .. .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" ..

0

..

..

STRTAPE 3
NAME
strtape - convert string to tape device pathname
SYNOPSIS
.L "char* strtape(char* s, char** e)"
DESCRIPTION
strtape converts the generic tape device specification in the nul-terminated string s to a local tape device pathname. A pointer to the device pathname is returned. If e not 0 then *e is set to point to the first unrecognized character in s .

A tape device specification is composed of unit-density-rewind . All are optional. unit is a unit number in the range [0-7] . The default unit is 1 . Density may be one of:

3 l for low;

3 m for medium, and

h for high.

The default is m . rewind is n for no-rewind on device close. The default is to rewind on device close.

"SEE ALSO"
pax(1), tar(1)
CAVEATS
The return value points to a static area that is overwritten on each call.