posix_lock_file_wait(9)

posix_lock_file_wait9

Apply a posix-style lock to a file

Usage

int posix_lock_file_wait(struct file * filp, struct file_lock * fl);

Arguments

filp

The file to apply the lock to

fl

The lock to be applied

Overview

Add a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.