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/man3/getipnodebyname.3 | |
| 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/man3/getipnodebyname.3')
| -rw-r--r-- | man/man3/getipnodebyname.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/getipnodebyname.3 b/man/man3/getipnodebyname.3 index a4483c7a18..1428d38265 100644 --- a/man/man3/getipnodebyname.3 +++ b/man/man3/getipnodebyname.3 @@ -18,8 +18,8 @@ Standard C library .P .BI "[[deprecated]] struct hostent *getipnodebyname(const char *" name ", int " af , .BI " int " flags ", int *" error_num ); -.BI "[[deprecated]] struct hostent *getipnodebyaddr(const void " addr [. len ], -.BI " size_t " len ", int " af , +.BI "[[deprecated]] struct hostent *getipnodebyaddr(const void " addr [. size ], +.BI " size_t " size ", int " af , .BI " int *" "error_num" ); .BI "[[deprecated]] void freehostent(struct hostent *" "ip" ); .fi @@ -152,7 +152,7 @@ The argument points to a .I struct in_addr and -.I len +.I size must be set to .IR "sizeof(struct in_addr)" . .TP @@ -162,7 +162,7 @@ The argument points to a .I struct in6_addr and -.I len +.I size must be set to .IR "sizeof(struct in6_addr)" . .SH RETURN VALUE |
