From cc7ffe866d0a7bc25b62ef5a68be5d5796c79de3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 11 Nov 2008 15:10:53 -0500 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man3/inet_ntop.3 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/man3/inet_ntop.3 b/man3/inet_ntop.3 index f87d10ed0..7de0ffafc 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