update internet draft #. correct samples.

sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)
This commit is contained in:
itojun 2000-05-11 03:08:06 +00:00
parent 601fd8e3ee
commit e2a25fa8de
2 changed files with 9 additions and 7 deletions

View File

@ -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 @@ such as
.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 @@ indicate an unknown error.
.%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
.\"

View File

@ -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 @@ flags are defined in
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 non-zero return value indicates failure.
.%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
.\"