summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2007-03-21 05:46:18 +0000
committerMax Laier <mlaier@FreeBSD.org>2007-03-21 05:46:18 +0000
commit02023242ea2cfc56f4ad6348b874ffcf5faca6ed (patch)
tree58bd79027dee50549347ee459e16e0d2ae12bbd0 /lib
parentfaf5485263b949f7a872bbf8f1e0cfbc74ed15dc (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/inet.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index d1975a88faf6..d721d9efeb95 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -28,7 +28,7 @@
.\" From: @(#)inet.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd February 28, 2007
+.Dd March 21, 2007
.Dt INET 3
.Os
.Sh NAME
@@ -126,6 +126,11 @@ The
.Fa size
argument specifies the size, in bytes, of the buffer
.Fa *dst .
+.Dv INET_ADDRSTRLEN
+and
+.Dv INET6_ADDRSTRLEN
+define the maximum size required to convert an address of the respective
+type.
It returns NULL if a system error occurs (in which case,
.Va errno
will have been set), or it returns a pointer to the destination string.