aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-07-16 00:42:18 +0200
committerAlejandro Colomar <alx@kernel.org>2025-07-20 00:56:32 +0200
commitb7c20376b2541f4a249355de4cbb3b2033ac0618 (patch)
treef75266c6a1c859056ad4273513936829c4572b88
parent358aa107c93082442b09d753b075c21afd7bf59c (diff)
downloadman-pages-b7c20376b2541f4a249355de4cbb3b2033ac0618.tar.gz
man/man2const/F_{G,S}ETLEASE.2const: Tweak after split, and add link page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/F_GETLEASE.2const8
-rw-r--r--man/man2const/F_SETLEASE.2const1
2 files changed, 5 insertions, 4 deletions
diff --git a/man/man2const/F_GETLEASE.2const b/man/man2const/F_GETLEASE.2const
index ff435ce2ec..10f7ac7a89 100644
--- a/man/man2const/F_GETLEASE.2const
+++ b/man/man2const/F_GETLEASE.2const
@@ -24,7 +24,7 @@ Standard C library
.B F_SETLEASE
and
.B F_GETLEASE
-(Linux 2.4 onward) are used to establish a new lease,
+are used to establish a new lease,
and retrieve the current lease, on the open file description
referred to by the file descriptor
.IR fd .
@@ -36,7 +36,7 @@ or
.BR truncate (2)
the file referred to by that file descriptor.
.TP
-.BR F_SETLEASE \~(\f[I]int\f[])
+.B F_SETLEASE
Set or remove a file lease according to which of the following
values is specified in the integer
.IR arg :
@@ -82,7 +82,7 @@ A process with the
.B CAP_LEASE
capability may take out leases on arbitrary files.
.TP
-.BR F_GETLEASE \~(\f[I]void\f[])
+.B F_GETLEASE
Indicates what type of lease is associated with the file descriptor
.I fd
by returning either
@@ -199,6 +199,6 @@ See
.SH STANDARDS
Linux.
.SH HISTORY
-Linux.
+Linux 2.4.
.SH SEE ALSO
.BR fcntl (2)
diff --git a/man/man2const/F_SETLEASE.2const b/man/man2const/F_SETLEASE.2const
new file mode 100644
index 0000000000..06f908e094
--- /dev/null
+++ b/man/man2const/F_SETLEASE.2const
@@ -0,0 +1 @@
+.so man2const/F_GETLEASE.2const