1FCNTL_SETLEASE(9) The Linux VFS FCNTL_SETLEASE(9)
23
4
NAME
6fcntl_setlease - sets a lease on an open file
7
SYNOPSIS
9int fcntl_setlease(unsigned int fd, struct file * filp, long arg);
10
ARGUMENTS
12fd
13open file descriptor
1415
filp
16file pointer
1718
arg
19type of lease to obtain
20
DESCRIPTION
22Call this fcntl to establish a lease on the file. Note that you also
23need to call F_SETSIG to receive a signal when the lease is broken.
24
COPYRIGHT
26Kernel Hackers Manual 2.6. June 2019 FCNTL_SETLEASE(9)