LOCK_WRITE top-level constant
LOCKTYPE
const LOCK_WRITE
If this lock is granted, the specified range of bytes can be opened and read any number of times, but writing to the locked range is prohibited except for the owner that was granted this lock.
Implementation
const LOCK_WRITE = LOCKTYPE(1);