diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-11-17 18:47:53 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-11-17 21:51:23 +0100 |
| commit | 18e7c4597c4e72fa5210c7887273e363c456c9ee (patch) | |
| tree | 97cfd22e731a4c859ae71783d70943ff72e6cb60 /man/man2/mbind.2 | |
| parent | 8fc6fdd8291d906e58a175b5e1b20da680aaeb4a (diff) | |
| download | man-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/mbind.2')
| -rw-r--r-- | man/man2/mbind.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man2/mbind.2 b/man/man2/mbind.2 index 66caeb379f..fd1aca4ad7 100644 --- a/man/man2/mbind.2 +++ b/man/man2/mbind.2 @@ -25,7 +25,7 @@ NUMA (Non-Uniform Memory Access) policy library .nf .B "#include <numaif.h>" .P -.BI "long mbind(void " addr [. len "], unsigned long " len ", int " mode , +.BI "long mbind(void " addr [. size "], unsigned long " size ", int " mode , .BI " const unsigned long " nodemask [(. maxnode " + ULONG_WIDTH - 1)" .B " / ULONG_WIDTH]," .BI " unsigned long " maxnode ", unsigned int " flags ); @@ -37,12 +37,12 @@ which consists of a policy mode and zero or more nodes, for the memory range starting with .I addr and continuing for -.I len +.I size bytes. The memory policy defines from which node memory is allocated. .P If the memory range specified by the -.IR addr " and " len +.IR addr " and " size arguments includes an "anonymous" region of memory\[em]that is a region of memory created using the .BR mmap (2) @@ -375,7 +375,7 @@ points outside your accessible address space. Or, there was an unmapped hole in the specified memory range specified by .I addr and -.IR len . +.IR size . .TP .B EINVAL An invalid value was specified for @@ -383,7 +383,7 @@ An invalid value was specified for or .IR mode ; or -.I addr + len +.I addr + size was less than .IR addr ; or |
