Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net update internet draft #. correct samples.



details:   https://anonhg.NetBSD.org/src/rev/70ce84d28819
branches:  trunk
changeset: 486017:70ce84d28819
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu May 11 03:08:06 2000 +0000

description:
update internet draft #.  correct samples.
sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)

diffstat:

 lib/libc/net/getaddrinfo.3 |  7 ++++---
 lib/libc/net/getnameinfo.3 |  9 +++++----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (79 lines):

diff -r a3b0f3836e28 -r 70ce84d28819 lib/libc/net/getaddrinfo.3
--- a/lib/libc/net/getaddrinfo.3        Thu May 11 02:27:25 2000 +0000
+++ b/lib/libc/net/getaddrinfo.3        Thu May 11 03:08:06 2000 +0000
@@ -1,3 +1,5 @@
+.\"    $KAME: getaddrinfo.3,v 1.12 2000/05/11 03:02:45 itojun Exp $
+.\"
 .\" Copyright (c) 1983, 1987, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,7 +32,6 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)gethostbyname.3      8.4 (Berkeley) 5/25/95
-.\"     KAME Id: getaddrinfo.3,v 1.9 2000/01/19 06:24:53 itojun Exp
 .\"
 .Dd May 25, 1995
 .Dt GETADDRINFO 3
@@ -321,7 +322,7 @@
 .Li ne0
 .Pc .
 Example would be like
-.Dq Li fe80::1@ne0 ,
+.Dq Li fe80::1%ne0 ,
 which means
 .Do
 .Li fe80::1
@@ -516,7 +517,7 @@
 .%A Atsushi Onoe
 .%T "An Extension of Format for IPv6 Scoped Addresses"
 .%R internet draft
-.%N draft-ietf-ipngwg-scopedaddr-format-00.txt
+.%N draft-ietf-ipngwg-scopedaddr-format-01.txt
 .%O work in progress material
 .Re
 .\"
diff -r a3b0f3836e28 -r 70ce84d28819 lib/libc/net/getnameinfo.3
--- a/lib/libc/net/getnameinfo.3        Thu May 11 02:27:25 2000 +0000
+++ b/lib/libc/net/getnameinfo.3        Thu May 11 03:08:06 2000 +0000
@@ -1,3 +1,5 @@
+.\"    $KAME: getnameinfo.3,v 1.10 2000/05/11 03:02:45 itojun Exp $
+.\"
 .\" Copyright (c) 1983, 1987, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,7 +32,6 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)gethostbyname.3      8.4 (Berkeley) 5/25/95
-.\"     KAME Id: getnameinfo.3,v 1.7 2000/01/17 08:13:04 itojun Exp
 .\"
 .Dd May 25, 1995
 .Dt GETNAMEINFO 3
@@ -48,7 +49,7 @@
 .Fd #include <sys/socket.h>
 .Fd #include <netdb.h>
 .Ft int
-.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" \
+.Fn getnameinfo "const struct sockaddr *sa" "size_t salen" \
 "char *host" "size_t hostlen" "char *serv" "size_t servlen" "int flags"
 .\"
 .Sh DESCRIPTION
@@ -184,7 +185,7 @@
 The implementation allows experimental numeric IPv6 address notation with
 scope identifier.
 IPv6 link-local address will appear as string like
-.Dq Li fe80::1@ne0 ,
+.Dq Li fe80::1%ne0 ,
 if
 .Dv NI_WITHSCOPEID
 bit is enabled in
@@ -257,7 +258,7 @@
 .%A Atsushi Onoe
 .%T "An Extension of Format for IPv6 Scoped Addresses"
 .%R internet draft
-.%N draft-ietf-ipngwg-scopedaddr-format-00.txt
+.%N draft-ietf-ipngwg-scopedaddr-format-01.txt
 .%O work in progress material
 .Re
 .\"



Home | Main Index | Thread Index | Old Index