summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getnameinfo.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/getnameinfo.3')
-rw-r--r--src/lib/libc/net/getnameinfo.320
1 files changed, 12 insertions, 8 deletions
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index a6f2c63a91..39f9b8e14e 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,4 +1,5 @@
1.\" $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.37 2005/01/06 03:50:46 itojun Exp $
2.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
2.\" 3.\"
3.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4.\" Copyright (C) 2000, 2001 Internet Software Consortium. 5.\" Copyright (C) 2000, 2001 Internet Software Consortium.
@@ -115,8 +116,8 @@ and
115.Tn TCP . 116.Tn TCP .
116.El 117.El
117.Pp 118.Pp
118This implementation allows experimental numeric IPv6 address notation with 119This implementation allows numeric IPv6 address notation with scope identifier,
119scope identifier. 120as documented in chapter 11 of draft-ietf-ipv6-scoping-arch-02.txt.
120IPv6 link-local address will appear as a string like 121IPv6 link-local address will appear as a string like
121.Dq Li fe80::1%ne0 . 122.Dq Li fe80::1%ne0 .
122Refer to 123Refer to
@@ -177,11 +178,14 @@ printf("host=%s\en", hbuf);
177.%D March 1999 178.%D March 1999
178.Re 179.Re
179.Rs 180.Rs
180.%A Tatsuya Jinmei 181.%A S. Deering
181.%A Atsushi Onoe 182.%A B. Haberman
182.%T "An Extension of Format for IPv6 Scoped Addresses" 183.%A T. Jinmei
184.%A E. Nordmark
185.%A B. Zill
186.%T "IPv6 Scoped Address Architecture"
183.%R internet draft 187.%R internet draft
184.%N draft-ietf-ipngwg-scopedaddr-format-02.txt 188.%N draft-ietf-ipv6-scoping-arch-02.txt
185.%O work in progress material 189.%O work in progress material
186.Re 190.Re
187.Rs 191.Rs
@@ -255,7 +259,7 @@ if (error == 0) {
255.Ed 259.Ed
256.Sh BUGS 260.Sh BUGS
257The implementation of 261The implementation of
258.Fn getaddrinfo 262.Fn getnameinfo
259is not thread-safe. 263is not thread-safe.
260.Pp 264.Pp
261.Ox 265.Ox