isread

read a record from an ISAM file

SYNOPSIS

int isread( int isfd, char * data, int mode );

isfd isam file identifier
data pointer to data buffer to be loaded
mode search mode plus optional lock mode

RETURN

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

NOTES

if successful isrecnum will be set to the current record number.

when isRead is called with ISLOCK, and the record requested is currently locked by another process, isRead will return ISFALSE with an iserrno value of ELOCKED but the requested record will still have been read into the data buffer.