Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net do not refer getnodebyaddr.



details:   https://anonhg.NetBSD.org/src/rev/b39abe208040
branches:  trunk
changeset: 501666:b39abe208040
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jan 05 13:40:28 2001 +0000

description:
do not refer getnodebyaddr.
sync with latest kame.

diffstat:

 lib/libc/net/getnameinfo.3 |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (61 lines):

diff -r 2e7fb010a2e9 -r b39abe208040 lib/libc/net/getnameinfo.3
--- a/lib/libc/net/getnameinfo.3        Fri Jan 05 13:11:00 2001 +0000
+++ b/lib/libc/net/getnameinfo.3        Fri Jan 05 13:40:28 2001 +0000
@@ -1,5 +1,5 @@
-.\"    $KAME: getnameinfo.3,v 1.10 2000/05/11 03:02:45 itojun Exp $
-.\"    $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
+.\"    $NetBSD: getnameinfo.3,v 1.12 2001/01/05 13:40:28 itojun Exp $
+.\"    $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
 .\"
 .\" Copyright (c) 1983, 1987, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -148,7 +148,7 @@
 e.g., by calling
 .Fn inet_ntop
 instead of
-.Fn getnodebyaddr
+.Fn gethostbyaddr
 .Pc .
 If the
 .Fa flag
@@ -183,7 +183,7 @@
 flags are defined in
 .Aq Pa netdb.h .
 .\"
-.Sh EXTENSION
+.Ss Extension for scoped IPv6 address
 The implementation allows experimental numeric IPv6 address notation with
 scope identifier.
 IPv6 link-local address will appear as string like
@@ -238,24 +238,24 @@
 a non-zero return value indicates failure.
 Error codes are as below:
 .Bl -tag -width Er
-.It Bq Er EAI_AGAIN
+.It Dv EAI_AGAIN
 The name could not be resolved at this time.
 Future attempts may succeed.
-.It Bq Er EAI_BADFLAGS
+.It Dv EAI_BADFLAGS
 The flags had an invalid value.
-.It Bq Er EAI_FAIL
+.It Dv EAI_FAIL
 A non-recoverable error occurred.
-.It Bq Er EAI_FAMILY
+.It Dv EAI_FAMILY
 The address family was not recognized or the address length was invalid
 for the specified family.
-.It Bq Er EAI_MEMORY
+.It Dv EAI_MEMORY
 There was a memory allocation failure.
-.It Bq Er EAI_NONAME
+.It Dv EAI_NONAME
 The name does not resolve for the supplied parameters.
 .Dv NI_NAMEREQD
 is set and the host's name cannot be located,
 or both nodename and servname were null.
-.It Bq Er EAI_SYSTEM
+.It Dv EAI_SYSTEM
 A system error occurred.
 The error code can be found in errno.
 .El



Home | Main Index | Thread Index | Old Index