isisaminfo

read the dictionary information structure of an ISAM file

SYNOPSIS

int isisaminfo( int isfd, struct dictinfo * dict );

isfd isam file identifier
dict pointer to dictinfo structure

RETURN

SUCCESS, or a negative value on error, in which case the error code is found in iserrno.

NOTES

this call will return information about the specified file in the structure passed. the values available are:

short di_nkeys;       /* number of indexes */
shord di_curidx;      /* current index number */
short di_recsize;     /* data record length */
short di_idxsize;     /* index record block size */
long  di_nrecords;    /* current record count */