summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacekm <>2009-05-06 19:03:09 +0000
committerjacekm <>2009-05-06 19:03:09 +0000
commiteda6889600dbe9438d296b2f14c8ffe2ea031e22 (patch)
tree7f1721518c8fab523efede9ceef1fff1cc8d386b
parentc53fee5456383ed916b708d98dbfe85f652c850f (diff)
downloadopenbsd-eda6889600dbe9438d296b2f14c8ffe2ea031e22.tar.gz
openbsd-eda6889600dbe9438d296b2f14c8ffe2ea031e22.tar.bz2
openbsd-eda6889600dbe9438d296b2f14c8ffe2ea031e22.zip
Document AI_NUMERICSERV; feedback and ok millert@
-rw-r--r--src/lib/libc/net/getaddrinfo.311
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index ba42a8e8bd..3e1f16d783 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getaddrinfo.3,v 1.45 2007/05/31 19:19:30 jmc Exp $ 1.\" $OpenBSD: getaddrinfo.3,v 1.46 2009/05/06 19:03:09 jacekm Exp $
2.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ 2.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
3.\" 3.\"
4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
@@ -16,7 +16,7 @@
16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17.\" PERFORMANCE OF THIS SOFTWARE. 17.\" PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: May 31 2007 $ 19.Dd $Mdocdate: May 6 2009 $
20.Dt GETADDRINFO 3 20.Dt GETADDRINFO 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -138,6 +138,13 @@ bit is set, it indicates that
138.Fa hostname 138.Fa hostname
139should be treated as a numeric string defining an IPv4 or IPv6 address 139should be treated as a numeric string defining an IPv4 or IPv6 address
140and no name resolution should be attempted. 140and no name resolution should be attempted.
141.It Dv AI_NUMERICSERV
142If the
143.Dv AI_NUMERICSERV
144bit is set, it indicates that
145.Fa servname
146should be treated as a numeric port string
147and no service name resolution should be attempted.
141.It Dv AI_PASSIVE 148.It Dv AI_PASSIVE
142If the 149If the
143.Dv AI_PASSIVE 150.Dv AI_PASSIVE