Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Stdio
Stdio.File

Method Stdio.File()->lock()


Method lock

Stdio.FileLockKey lock()
Stdio.FileLockKey lock(int(0..1) is_recursive)

Description

Makes an exclusive file lock on this file.

See also

trylock()