aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net/inet_net.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/inet_net.3')
-rw-r--r--lib/libc/net/inet_net.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/inet_net.3 b/lib/libc/net/inet_net.3
index 72fc4455feed..9ca00a6e86a7 100644
--- a/lib/libc/net/inet_net.3
+++ b/lib/libc/net/inet_net.3
@@ -61,7 +61,9 @@ function converts an Internet network number from network format (usually a
.Vt "struct in_addr"
or some other binary form, in network byte order) to CIDR presentation format
(suitable for external display purposes).
+The
.Fa bits
+argument
is the number of bits in
.Fa src
that are the network number.
@@ -90,7 +92,9 @@ The only value for
.Fa af
currently supported is
.Dv AF_INET .
+The
.Fa size
+argument
is the size of the result buffer
.Fa dst .
.Pp