aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-11-11 15:10:53 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-11-11 15:10:53 -0500
commitcc7ffe866d0a7bc25b62ef5a68be5d5796c79de3 (patch)
treec868b0bb39f15776f9d7f99b1ab9658c8e6f6ea1 /man3
parentf961f9c1ab5cd3a12812da33967aaccdc76528d9 (diff)
downloadman-pages-cc7ffe866d0a7bc25b62ef5a68be5d5796c79de3.tar.gz
inet_ntop.3: Rework text describing 'size' argument
(After a suggestion by Vegard Nossum.) Also made a few other small rewordings to in the initial paragraph. Reported-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/inet_ntop.310
1 files changed, 6 insertions, 4 deletions
diff --git a/man3/inet_ntop.3 b/man3/inet_ntop.3
index f87d10ed04..7de0ffafcd 100644
--- a/man3/inet_ntop.3
+++ b/man3/inet_ntop.3
@@ -36,11 +36,13 @@ This function converts the network address structure
.I src
in the
.I af
-address family into a character string, which is copied to a character buffer
+address family into a character string.
+The resulting string is copied to the buffer pointed to by
.IR dst ,
-which is
-.I size
-bytes long.
+which must be a non-NULL pointer.
+The caller specifies the number of bytes available in this buffer in
+the argument
+.IR size .
.PP
.BR inet_ntop ()
extends the