aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-07-13 23:06:57 +0200
committerAlejandro Colomar <alx@kernel.org>2025-07-20 00:56:30 +0200
commit1717b8889e390e71f5b89e65e3d20438b2927868 (patch)
treee101ac056d97222c8b5edafb0cbfabe6b72cecda
parent5d93c92d365a2a54ea3c4fbf37f2692f3f9cdf7f (diff)
downloadman-pages-1717b8889e390e71f5b89e65e3d20438b2927868.tar.gz
man/man2const/F_{G,S}ET{,_FILE}_RW_HINT.2const: Tweak after split, and add link pages
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/F_GET_FILE_RW_HINT.2const1
-rw-r--r--man/man2const/F_GET_RW_HINT.2const12
-rw-r--r--man/man2const/F_SET_FILE_RW_HINT.2const1
-rw-r--r--man/man2const/F_SET_RW_HINT.2const1
4 files changed, 9 insertions, 6 deletions
diff --git a/man/man2const/F_GET_FILE_RW_HINT.2const b/man/man2const/F_GET_FILE_RW_HINT.2const
new file mode 100644
index 0000000000..753dffa22a
--- /dev/null
+++ b/man/man2const/F_GET_FILE_RW_HINT.2const
@@ -0,0 +1 @@
+.so man2const/F_GET_RW_HINT.2const
diff --git a/man/man2const/F_GET_RW_HINT.2const b/man/man2const/F_GET_RW_HINT.2const
index 01bbcca5ab..69c9f29b56 100644
--- a/man/man2const/F_GET_RW_HINT.2const
+++ b/man/man2const/F_GET_RW_HINT.2const
@@ -44,24 +44,24 @@ in arbitrary ways, so long as the hints are used consistently.
The following operations can be applied to the file descriptor,
.IR fd :
.TP
-.BR F_GET_RW_HINT "\~(\f[I]uint64_t\~*\f[]; since Linux 4.13)"
+.B F_GET_RW_HINT
Returns the value of the read/write hint associated with the underlying inode
referred to by
.IR fd .
.TP
-.BR F_SET_RW_HINT "\~(\f[I]uint64_t\~*\f[]; since Linux 4.13)"
+.B F_SET_RW_HINT
Sets the read/write hint value associated with the
underlying inode referred to by
.IR fd .
This hint persists until either it is explicitly modified or
the underlying filesystem is unmounted.
.TP
-.BR F_GET_FILE_RW_HINT "\~(\f[I]uint64_t\~*\f[]; since Linux 4.13)"
+.B F_GET_FILE_RW_HINT
Returns the value of the read/write hint associated with
the open file description referred to by
.IR fd .
.TP
-.BR F_SET_FILE_RW_HINT "\~(\f[I]uint64_t\~*\f[]; since Linux 4.13)"
+.B F_SET_FILE_RW_HINT
Sets the read/write hint value associated with the open file description
referred to by
.IR fd .
@@ -70,7 +70,7 @@ If an open file description has not been assigned a read/write hint,
then it shall use the value assigned to the inode, if any.
.P
The following read/write
-hints are valid since Linux 4.13:
+hints are supported:
.TP
.B RWH_WRITE_LIFE_NOT_SET
No specific hint has been set.
@@ -115,6 +115,6 @@ See
.SH STANDARDS
Linux.
.SH HISTORY
-Linux.
+Linux 4.13.
.SH SEE ALSO
.BR fcntl (2)
diff --git a/man/man2const/F_SET_FILE_RW_HINT.2const b/man/man2const/F_SET_FILE_RW_HINT.2const
new file mode 100644
index 0000000000..753dffa22a
--- /dev/null
+++ b/man/man2const/F_SET_FILE_RW_HINT.2const
@@ -0,0 +1 @@
+.so man2const/F_GET_RW_HINT.2const
diff --git a/man/man2const/F_SET_RW_HINT.2const b/man/man2const/F_SET_RW_HINT.2const
new file mode 100644
index 0000000000..753dffa22a
--- /dev/null
+++ b/man/man2const/F_SET_RW_HINT.2const
@@ -0,0 +1 @@
+.so man2const/F_GET_RW_HINT.2const