Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

UnLockRecord

Unlock a record

Declaration

Source position: amigados.pas line 1820

function UnLockRecord(

  fh: LongInt;

  offset: Cardinal;

  length: Cardinal

):LongBool;

Arguments

fh

  

File handle of locked file

offset

  

Record start position

length

  

Length of record in bytes

Description

This releases the specified lock on a file. Note that you must use the same filehandle you used to lock the record, and offset and length must be the same values used to lock it. Every LockRecord() call must be balanced with an UnLockRecord() call.

See also

LockRecords

  

Lock a series of records

LockRecord

  

Locks a portion of a file

UnLockRecords

  

Unlock a list of records


Documentation generated on: 2021-07-30