isrewrec

rewrite an ISAM record by given record number

SYNOPSIS

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

isfd isam file identifier
recnum record number to be replaced
data image to replace the given record

RETURN

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

NOTES

the contents of the given record in the data file will be replaced with the image passed, and all related indexes updated.

the original data image can be found in isfd->data on return