---
name: "posix_lock_file_conf"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/posix_lock_file_conf"
---

# posix\_lock\_file\_conf(9)

Apply a POSIX-style lock to a file

## NAME

posix\_lock\_file\_conf - Apply a POSIX-style lock to a file

## SYNOPSIS

**int posix\_lock\_file\_conf(struct file \*** *filp***, struct file\_lock \*** *fl***, struct file\_lock \*** *conflock***);**

## ARGUMENTS

*filp*

The file to apply the lock to

*fl*

The lock to be applied

*conflock*

Place to return a copy of the conflicting lock, if found.

## DESCRIPTION

Except for the conflock parameter, acts just like posix\_lock\_file.

## COPYRIGHT
