'\" t .\" Title: flock_lock_file_wait .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "FLOCK_LOCK_FILE_WAIT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" flock_lock_file_wait \- Apply a FLOCK\-style lock to a file .SH "SYNOPSIS" .HP \w'int\ flock_lock_file_wait('u .BI "int flock_lock_file_wait(struct\ file\ *\ " "filp" ", struct\ file_lock\ *\ " "fl" ");" .SH "ARGUMENTS" .PP \fIfilp\fR .RS 4 The file to apply the lock to .RE .PP \fIfl\fR .RS 4 The lock to be applied .RE .SH "DESCRIPTION" .PP Add a FLOCK style lock to a file\&. .SH "COPYRIGHT" .br