isRead

read a record from an ISAM file

SYNOPSIS

int isRead( IsFile * isfd, char * data, int mode );

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

RETURN

ISTRUE, or ISFALSE, in which case the error code is returned by isErrno, or found in isfd->iserrno

NOTES

if successful isfd->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.