summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <>2000-06-18 20:28:00 +0000
committeritojun <>2000-06-18 20:28:00 +0000
commit0c46311aa0ede7c2ecc84546afb32e1328e9607b (patch)
treea562c24a137634cb7400723d0553b90c1091f3fe
parente3350922cdf6f87e98fa62cd9c641232af168534 (diff)
downloadopenbsd-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.38
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
198hexadecimal; otherwise, a leading 0 implies octal; 198hexadecimal; otherwise, a leading 0 implies octal;
199otherwise, the number is interpreted as decimal). 199otherwise, the number is interpreted as decimal).
200.Sh INTERNET ADDRESSES (IP VERSION 6) 200.Sh INTERNET ADDRESSES (IP VERSION 6)
201In order to support scoped IPv6 addresses,
202.Xr getaddrinfo 3
203and
204.Xr getnameinfo 3
205are recommeded than functions presented here.
206.Pp
201The presentation format of an IPv6 address is given in [RFC1884 2.2]: 207The presentation format of an IPv6 address is given in [RFC1884 2.2]:
202.Pp 208.Pp
203There are three conventional forms for representing IPv6 addresses as 209There are three conventional forms for representing IPv6 addresses as