isdata

return ISAM data by given record number

SYNOPSIS

int isdata( int isfd, char * data, long recnum );

isfd isam file identifier
data pointer to data buffer to be loaded
recnum an existing active record number

RETURN

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

NOTES

isData performs a direct read on the data file, and does not disturb the current index pointer, and does not check for record locks. it will return ENOREC if the record requested does not exist or has been deleted.

isData is provided primarily as a means of accessing data records in as an efficient a manner as possible.