User Guide
Ampex 1308911-02 5-41
libdd2 API Functions dst_getstate
DST_LOADED or DST_IS_LOADED is set when the drive completes a 
volume search; however, this doesn’t mean that the drive is ready for 
user interaction.
DST_WR_PROTECT or DST_WR_PROTECTED is set when the installed 
tape is found to be write protected.
DST_READY or DST_IS_READY is set when necessary to perform 
operations that establish a logical position on tape.
The tape drive is ready for user interaction, when
 DST_READY, 
DST_PRESENT, and DST_LOADED are all set.
RETURN VALUES
The return value is DST_SUCCESS (0) or DST_FAILURE (-1). See “DST API Overview” on 
page 5-1 for information on
 errno failure messages and associated DST result codes.
SEE ALSO 
“DST API Overview” on page 5-1, dst_status() 










