summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorreed <reed@NetBSD.org>2006-11-24 16:56:18 +0000
committerreed <reed@NetBSD.org>2006-11-24 16:56:18 +0000
commitf8ee2d04c11db0167bb6d3585bb8f3cb7364e188 (patch)
treea3ea11dd419a7348a684570502cfa65729170e23 /lib/libc
parent663e0dad6122f09c995b048bc0fe3512d49343a3 (diff)
Document AI_NUMERICSERV.
(When manpage was rewritten some docs were lost.)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 6a298ab031e..707b43134de 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: getaddrinfo.3,v 1.44 2006/07/18 14:00:40 christos Exp $
+.\" $NetBSD: getaddrinfo.3,v 1.45 2006/11/24 16:56:18 reed Exp $
.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getaddrinfo.3,v 1.35 2004/12/21 03:40:31 jaredy Exp $
.\"
@@ -17,7 +17,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd July 18, 2006
+.Dd November 24, 2006
.Dt GETADDRINFO 3
.Os
.Sh NAME
@@ -138,6 +138,13 @@ bit is set, it indicates that
.Fa hostname
should be treated as a numeric string defining an IPv4 or IPv6 address
and no name resolution should be attempted.
+.It Dv AI_NUMERICSERV
+If the
+.Dv AI_NUMERICSERV
+bit is set, it indicates that
+.Fa servname
+string contains a numeric port number.
+This is used to prevent service name resolution.
.It Dv AI_PASSIVE
If the
.Dv AI_PASSIVE