Docs » Autodocs » dos.library » UnLockRecord
UnLockRecord -- Unlock a record (V36)
success = UnLockRecord(fh,offset,length) D0 D1 D2 D3 BOOL UnLockRecord(BPTR,ULONG,ULONG)
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.
fh - File handle of locked file offset - Record start position length - Length of record in bytes
success - Success or failure.
See LockRecord()
LockRecords(), LockRecord(), UnLockRecords()
|