pub const LOCK_SH: i32 = 1;
operations for bsd flock(), also used by the kernel implementation shared lock