isLockCheck

enforce locking on update/delete

SYNOPSIS

int isLockCheck( IsFile * isfd, int mode );

isfd isam file descriptor
mode 0: off 1:on

RETURN

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

NOTES

a flag value of 1 will cause the library to fail on update or delete if the current record in question has not been successfully locked prior to the operation.

the iserrno value returned in this instance is ENOCURR.

SEE ALSO

isLock isUnLock