islockcheck

enforce locking on update/delete

SYNOPSIS

int islockcheck( int isfd, int mode );

isfd isam file identifier
mode 0: off 1:on

RETURN

SUCCESS, or a negative value on error, in which case the error code is found in 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