aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/rpc.3
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/man3/rpc.3
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/man3/rpc.3')
-rw-r--r--man/man3/rpc.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/rpc.3 b/man/man3/rpc.3
index 79c9587bfc..74a0c93137 100644
--- a/man/man3/rpc.3
+++ b/man/man3/rpc.3
@@ -75,7 +75,7 @@ This is the default authentication used by RPC.
.P
.nf
.BI "AUTH *authunix_create(char *" host ", uid_t " uid ", gid_t " gid ,
-.BI " int " len ", gid_t " aup_gids [. len ]);
+.BI " int " n ", gid_t " aup_gids [. n ]);
.fi
.IP
Create and return an RPC authentication handle that contains
@@ -87,7 +87,7 @@ is the name of the machine on which the information was created;
is the user's user ID;
.I gid
is the user's current group ID;
-.I len
+.I n
and
.I aup_gids
refer to a counted array of groups to which the user belongs.