.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FCNTL_SETLEASE" "" "06 October 2005" "" ""
.SH NAME
fcntl_setlease \- sets a lease on an open file
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int fcntl_setlease (unsigned int \fIfd\fB, struct file * \fIfilp\fB, long \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfd\fB\fR
open file descriptor
.TP
\fB\fIfilp\fB\fR
file pointer
.TP
\fB\fIarg\fB\fR
type of lease to obtain
.SH "DESCRIPTION"
.PP
Call this fcntl to establish a lease on the file.
Note that you also need to call F_SETSIG to
receive a signal when the lease is broken.