summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <>2001-01-05 13:43:02 +0000
committeritojun <>2001-01-05 13:43:02 +0000
commit15bbf14b6dec9d110311f371debc4d77939bbd83 (patch)
tree8bfcb4d4d9c24ba89569479f070e8099b1827fc4
parent7578bdfc4fc8bb6e9c520d2eb7857855ec60adb5 (diff)
downloadopenbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.tar.gz
openbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.tar.bz2
openbsd-15bbf14b6dec9d110311f371debc4d77939bbd83.zip
do not refer getnodebyname. sync with kame.
-rw-r--r--src/lib/libc/net/getnameinfo.322
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 78ffc6e396..755e7bd482 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: getnameinfo.3,v 1.10 2000/12/21 17:34:33 aaron Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.11 2001/01/05 13:43:02 itojun Exp $
2.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $ 2.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
5.\" The Regents of the University of California. All rights reserved. 5.\" The Regents of the University of California. All rights reserved.
@@ -142,7 +142,7 @@ the numeric form of the host's address is returned instead of its name
142e.g., by calling 142e.g., by calling
143.Fn inet_ntop 143.Fn inet_ntop
144instead of 144instead of
145.Fn getnodebyaddr 145.Fn gethostbyaddr
146.Pc . 146.Pc .
147If the 147If the
148.Fa flag 148.Fa flag
@@ -177,7 +177,7 @@ These
177flags are defined in 177flags are defined in
178.Aq Pa netdb.h . 178.Aq Pa netdb.h .
179.\" 179.\"
180.Sh EXTENSION 180.Ss Extension for scoped IPv6 address
181The implementation allows experimental numeric IPv6 address notation with 181The implementation allows experimental numeric IPv6 address notation with
182scope identifier. 182scope identifier.
183IPv6 link-local address will appear as string like 183IPv6 link-local address will appear as string like
@@ -232,24 +232,24 @@ The function indicates successful completion by a zero return value;
232a non-zero return value indicates failure. 232a non-zero return value indicates failure.
233Error codes are as below: 233Error codes are as below:
234.Bl -tag -width Er 234.Bl -tag -width Er
235.It Bq Er EAI_AGAIN 235.It Dv EAI_AGAIN
236The name could not be resolved at this time. 236The name could not be resolved at this time.
237Future attempts may succeed. 237Future attempts may succeed.
238.It Bq Er EAI_BADFLAGS 238.It Dv EAI_BADFLAGS
239The flags had an invalid value. 239The flags had an invalid value.
240.It Bq Er EAI_FAIL 240.It Dv EAI_FAIL
241A non-recoverable error occurred. 241A non-recoverable error occurred.
242.It Bq Er EAI_FAMILY 242.It Dv EAI_FAMILY
243The address family was not recognized or the address length was invalid 243The address family was not recognized or the address length was invalid
244for the specified family. 244for the specified family.
245.It Bq Er EAI_MEMORY 245.It Dv EAI_MEMORY
246There was a memory allocation failure. 246There was a memory allocation failure.
247.It Bq Er EAI_NONAME 247.It Dv EAI_NONAME
248The name does not resolve for the supplied parameters. 248The name does not resolve for the supplied parameters.
249.Dv NI_NAMEREQD 249.Dv NI_NAMEREQD
250is set and the host's name cannot be located, 250is set and the host's name cannot be located,
251or both nodename and servname were null. 251or both nodename and servname were null.
252.It Bq Er EAI_SYSTEM 252.It Dv EAI_SYSTEM
253A system error occurred. 253A system error occurred.
254The error code can be found in errno. 254The error code can be found in errno.
255.El 255.El