User Guide
5-64  Ampex 1308911-02
Model No.
Running Head
dst_version libdd2 API Functions
5.21 dst_version 
NAME 
dst_version()
 - get version information for the tape device driver.
SYNOPSIS 
#include <dd2.h>
int dst_version(int 
fd
, dst_dri_ver 
*ver
);
DESCRIPTION 
dst_version() 
returns version information that identifies the current tape device driver. This 
information is intended primarily for checking whether the interface supported by the tape 
device driver differs from that of the calling program. 
dst_version()
 is available to all users.
PARAMETERS
fd
The file descriptor returned by the 
open
 call.
*ver
Pointer to a structure of type
 dst_dri_ver
.
USAGE
dst_version()
 reports current tape device driver version information in the *
ver
 structure.
struct dst_dri_ver
{
char version[80];
char notes[80];
char comments[80];
};
STRUCTURE MEMBERS
version
80-byte character array that reports the current tape device driver 
version (for example “4.0”). 
notes
80-byte character array that provides a short description on the latest 
changes or added functionality (such as “Now Supports AIX”).
comments
80-byte character array that reports the tape device driver’s release date 
(for example “Released 31st July 1996”).










