diff options
author | itojun <> | 2000-06-18 20:28:00 +0000 |
---|---|---|
committer | itojun <> | 2000-06-18 20:28:00 +0000 |
commit | 0c46311aa0ede7c2ecc84546afb32e1328e9607b (patch) | |
tree | a562c24a137634cb7400723d0553b90c1091f3fe | |
parent | e3350922cdf6f87e98fa62cd9c641232af168534 (diff) | |
download | openbsd-0c46311aa0ede7c2ecc84546afb32e1328e9607b.tar.gz openbsd-0c46311aa0ede7c2ecc84546afb32e1328e9607b.tar.bz2 openbsd-0c46311aa0ede7c2ecc84546afb32e1328e9607b.zip |
note get{addr,name}info are recommended than inet_xx.
-rw-r--r-- | src/lib/libc/net/inet.3 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3 index 246c0bd2e1..fc47aee804 100644 --- a/src/lib/libc/net/inet.3 +++ b/src/lib/libc/net/inet.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet.3,v 1.10 2000/04/21 15:38:17 aaron Exp $ | 1 | .\" $OpenBSD: inet.3,v 1.11 2000/06/18 20:28:00 itojun Exp $ |
2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ | 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
@@ -198,6 +198,12 @@ in the C language (i.e., a leading 0x or 0X implies | |||
198 | hexadecimal; otherwise, a leading 0 implies octal; | 198 | hexadecimal; otherwise, a leading 0 implies octal; |
199 | otherwise, the number is interpreted as decimal). | 199 | otherwise, the number is interpreted as decimal). |
200 | .Sh INTERNET ADDRESSES (IP VERSION 6) | 200 | .Sh INTERNET ADDRESSES (IP VERSION 6) |
201 | In order to support scoped IPv6 addresses, | ||
202 | .Xr getaddrinfo 3 | ||
203 | and | ||
204 | .Xr getnameinfo 3 | ||
205 | are recommeded than functions presented here. | ||
206 | .Pp | ||
201 | The presentation format of an IPv6 address is given in [RFC1884 2.2]: | 207 | The presentation format of an IPv6 address is given in [RFC1884 2.2]: |
202 | .Pp | 208 | .Pp |
203 | There are three conventional forms for representing IPv6 addresses as | 209 | There are three conventional forms for representing IPv6 addresses as |