aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2/init_module.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/init_module.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/init_module.2')
-rw-r--r--man/man2/init_module.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man2/init_module.2 b/man/man2/init_module.2
index 55eba9ab55..b00b5a50c5 100644
--- a/man/man2/init_module.2
+++ b/man/man2/init_module.2
@@ -16,8 +16,8 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
-.BI "int syscall(SYS_init_module, void " module_image [. len "], \
-unsigned long " len ,
+.BI "int syscall(SYS_init_module, void " module_image [. size "], \
+unsigned long " size ,
.BI " const char *" param_values );
.BI "int syscall(SYS_finit_module, int " fd ,
.BI " const char *" param_values ", int " flags );
@@ -41,7 +41,7 @@ The
.I module_image
argument points to a buffer containing the binary image
to be loaded;
-.I len
+.I size
specifies the size of that buffer.
The module image should be a valid ELF image, built for the running kernel.
.P