User Guide

4-22 Preliminary Draft Ampex 1308904-X4
Model No.
Running Head
aclGetVersion ACL Application Programmer’s Guide
4.10 aclGetVersion
NAME
aclGetVersion() - get ACL vendor, product, software version, and software release
information.
SYNOPSIS
#include <acl.h>
int aclGetVersion(char *device, aclVersion_t *aclversion);
DESCRIPTION
aclGetVersion() reports the ACL vendor name, product name, software revision levels and
software release dates.
aclGetVersion() is available to all users.
PARAMETERS
*device Pointer or string specifying the device special file associated with the
ACL.
*aclversion Pointer to a structure of type
aclVersion_t.
USAGE
aclGetVersion() reports the version information in the *aclversion structure.
Writer_Note: Sizes of structure members are different that shown for SCSI Inquiry command in ICD.
typedef struct
{
unsigned char vendor[9];
unsigned char product[17];
unsigned char proto_cpu[5];
unsigned char servo_cpu[5];
unsigned char proto_prom[5];
unsigned char servo_prom[5];
unsigned char util_rel[5];
unsigned char libacl_rel[5];
unsigned char firm_rel_date[9];
unsigned char util_rel_date[18];
unsigned char libacl_rel_date[18];
}aclVersion_t;