aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-03-25 01:45:01 +0100
committerAlejandro Colomar <alx@kernel.org>2025-03-25 01:45:51 +0100
commit04ac8a314716e162a8503a3256a7ede3062d402f (patch)
tree6902a08da612faf0648f3d52e1f7913920d063f6
parent2b2519c7722166dbe4313da6ec048d137ea42ba7 (diff)
downloadman-pages-04ac8a314716e162a8503a3256a7ede3062d402f.tar.gz
man/man2/posix_fadvise.2: Consistency fix (len => size)
Fixes: 18e7c4597c4e (2024-11-17; "man/: Terminology consistency reforms (n, size, length)") Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=219921> Reported-by: Paul Pluzhnikov <ppluzhnikov@google.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2/posix_fadvise.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man2/posix_fadvise.2 b/man/man2/posix_fadvise.2
index c7a42baa95..0c7209a5dc 100644
--- a/man/man2/posix_fadvise.2
+++ b/man/man2/posix_fadvise.2
@@ -38,8 +38,8 @@ file data in a specific pattern in the future, thus allowing the kernel
to perform appropriate optimizations.
.P
The \fIadvice\fP applies to a (not necessarily existent) region starting
-at \fIoffset\fP and extending for \fIlen\fP bytes (or until the end of
-the file if \fIlen\fP is 0) within the file referred to by \fIfd\fP.
+at \fIoffset\fP and extending for \fIsize\fP bytes (or until the end of
+the file if \fIsize\fP is 0) within the file referred to by \fIfd\fP.
The \fIadvice\fP is not binding;
it merely constitutes an expectation on behalf of
the application.
@@ -148,7 +148,7 @@ The underlying system call is called
(or, on some architectures,
.BR fadvise64_64 ());
the difference between the two is that the former system call
-assumes that the type of the \fIlen\fP argument is \fIsize_t\fP,
+assumes that the type of the \fIsize\fP argument is \fIsize_t\fP,
while the latter expects \fIloff_t\fP there.
.SS Architecture-specific variants
Some architectures require