- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function file_unmark_read(const fname: string; key: word): boolean;
Arguments:
-
fname |
Target file name |
key |
Unique flag identifier assigned while locking. |
Description:
-
Removes unique file reading flag. Call it after closing file opened for reading.
Returns:
-
TRUE on success, FALSE on error.
Usage:
-
file_mark_read('filename.ext', wk);
assign(fh, 'filename.ext');
reset(fh);
// Some actions
close(fh);
file_unmark_read('filename.ext', wk);
See also:
-
file_mark_read, file_mark_write.
|