aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/splice.2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-11-17 18:47:53 +0100
committerAlejandro Colomar <alx@kernel.org>2024-11-17 21:51:23 +0100
commit18e7c4597c4e72fa5210c7887273e363c456c9ee (patch)
tree97cfd22e731a4c859ae71783d70943ff72e6cb60 /man/man2/splice.2
parent8fc6fdd8291d906e58a175b5e1b20da680aaeb4a (diff)
downloadman-pages-18e7c4597c4e.tar.gz
man/: Terminology consistency reforms (n, size, length)
Use 'length' for the lenght of a string. Use 'n' for the number of elements. Use 'size' for the number of bytes. (And in wide-character string functions, 'size' also refers to the number of wide characters.) The change is quite large, and I might have made some mistakes. But overall, this should improve consistency in use of these terms. Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/splice.2')
-rw-r--r--man/man2/splice.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man2/splice.2 b/man/man2/splice.2
index 4824a7051d..e9a54719b5 100644
--- a/man/man2/splice.2
+++ b/man/man2/splice.2
@@ -17,7 +17,7 @@ Standard C library
.P
.BI "ssize_t splice(int " fd_in ", off_t *_Nullable " off_in ,
.BI " int " fd_out ", off_t *_Nullable " off_out ,
-.BI " size_t " len ", unsigned int " flags );
+.BI " size_t " size ", unsigned int " flags );
.\" Return type was long before glibc 2.7
.fi
.SH DESCRIPTION
@@ -25,7 +25,7 @@ Standard C library
moves data between two file descriptors
without copying between kernel address space and user address space.
It transfers up to
-.I len
+.I size
bytes of data from the file descriptor
.I fd_in
to the file descriptor