]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/F_{G,S}ETLEASE.2const: Tweak after split, and add link page
authorAlejandro Colomar <alx@kernel.org>
Tue, 15 Jul 2025 22:42:18 +0000 (00:42 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 19 Jul 2025 22:56:32 +0000 (00:56 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2const/F_GETLEASE.2const
man/man2const/F_SETLEASE.2const [new file with mode: 0644]

index ff435ce2ecf45ffd7712f86763375489d734e9d1..10f7ac7a89a70b83be10a381462d879cff813471 100644 (file)
@@ -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 (file)
index 0000000..06f908e
--- /dev/null
@@ -0,0 +1 @@
+.so man2const/F_GETLEASE.2const