islock

lock all records in an ISAM file

SYNOPSIS

int islock( int isfd );

isfd isam file identifier

RETURN

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

NOTES

this call will lock all records in the file against update by any process other than the current, or return ELOCKED if this is not possible.

SEE ALSO

isunlock islockcheck