aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-07-20 00:36:56 +0200
committerAlejandro Colomar <alx@kernel.org>2025-07-20 00:56:33 +0200
commit3d692c69d2debcfe751c4b030c832abda07fbaaa (patch)
tree5afe5475b2a474f47c26e8421a65d1c4540d6f3c
parent92582bafdeae6c965aaf53dc14edeac509566c66 (diff)
downloadman-pages-3d692c69d2debcfe751c4b030c832abda07fbaaa.tar.gz
man/man2/fcntl_locking.2, man/man2const/F_*.2const: Tweak after split, and add link pages
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2/fcntl_locking.212
-rw-r--r--man/man2const/F_GETLK.2const1
-rw-r--r--man/man2const/F_OFD_GETLK.2const1
-rw-r--r--man/man2const/F_OFD_SETLK.2const1
-rw-r--r--man/man2const/F_OFD_SETLKW.2const1
-rw-r--r--man/man2const/F_SETLK.2const1
-rw-r--r--man/man2const/F_SETLKW.2const1
7 files changed, 12 insertions, 6 deletions
diff --git a/man/man2/fcntl_locking.2 b/man/man2/fcntl_locking.2
index 098f72e50a..ba37877f6c 100644
--- a/man/man2/fcntl_locking.2
+++ b/man/man2/fcntl_locking.2
@@ -135,7 +135,7 @@ then the existing lock is converted to the new lock type.
an existing lock if the byte range specified by the new lock does not
precisely coincide with the range of the existing lock.)
.TP
-.BR F_SETLK \~(\f[I]struct\~flock\~*\f[])
+.B F_SETLK
Acquire a lock (when
.I l_type
is
@@ -160,7 +160,7 @@ or
(The error returned in this case differs across implementations,
so POSIX requires a portable application to check for both errors.)
.TP
-.BR F_SETLKW \~(\f[I]struct\~flock\~*\f[])
+.B F_SETLKW
As for
.BR F_SETLK ,
but if a conflicting lock is held on the file, then wait for that
@@ -174,7 +174,7 @@ set to
see
.BR signal (7)).
.TP
-.BR F_GETLK \~(\f[I]struct\~flock\~*\f[])
+.B F_GETLK
On input to this call,
.I lock
describes a lock we would like to place on the file.
@@ -350,7 +350,7 @@ when using the operations described below.
The operations for working with open file description locks are analogous
to those used with traditional locks:
.TP
-.BR F_OFD_SETLK \~(\f[I]struct\~flock\~*\f[])
+.B F_OFD_SETLK
Acquire an open file description lock (when
.I l_type
is
@@ -371,7 +371,7 @@ this call returns \-1 and sets
to
.BR EAGAIN .
.TP
-.BR F_OFD_SETLKW \~(\f[I]struct\~flock\~*\f[])
+.B F_OFD_SETLKW
As for
.BR F_OFD_SETLK ,
but if a conflicting lock is held on the file, then wait for that lock to be
@@ -385,7 +385,7 @@ set to
see
.BR signal (7)).
.TP
-.BR F_OFD_GETLK \~(\f[I]struct\~flock\~*\f[])
+.B F_OFD_GETLK
On input to this call,
.I lock
describes an open file description lock we would like to place on the file.
diff --git a/man/man2const/F_GETLK.2const b/man/man2const/F_GETLK.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_GETLK.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2
diff --git a/man/man2const/F_OFD_GETLK.2const b/man/man2const/F_OFD_GETLK.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_OFD_GETLK.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2
diff --git a/man/man2const/F_OFD_SETLK.2const b/man/man2const/F_OFD_SETLK.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_OFD_SETLK.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2
diff --git a/man/man2const/F_OFD_SETLKW.2const b/man/man2const/F_OFD_SETLKW.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_OFD_SETLKW.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2
diff --git a/man/man2const/F_SETLK.2const b/man/man2const/F_SETLK.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_SETLK.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2
diff --git a/man/man2const/F_SETLKW.2const b/man/man2const/F_SETLKW.2const
new file mode 100644
index 0000000000..906fbf6882
--- /dev/null
+++ b/man/man2const/F_SETLKW.2const
@@ -0,0 +1 @@
+.so man2/fcntl_locking.2