Deleted Added
full compact
getnameinfo.3 (167122) getnameinfo.3 (233138)
1.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
2.\" $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $
3.\"
4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
5.\" Copyright (C) 2000, 2001 Internet Software Consortium.
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17.\" PERFORMANCE OF THIS SOFTWARE.
18.\"
1.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
2.\" $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $
3.\"
4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
5.\" Copyright (C) 2000, 2001 Internet Software Consortium.
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17.\" PERFORMANCE OF THIS SOFTWARE.
18.\"
19.\" $FreeBSD: head/lib/libc/net/getnameinfo.3 167122 2007-02-28 21:28:33Z bms $
19.\" $FreeBSD: head/lib/libc/net/getnameinfo.3 233138 2012-03-19 00:47:01Z eadler $
20.\"
21.Dd February 28, 2007
22.Dt GETNAMEINFO 3
23.Os
24.Sh NAME
25.Nm getnameinfo
26.Nd socket address structure to hostname and service name
27.Sh SYNOPSIS

--- 102 unchanged lines hidden (view full) ---

130This is required for the few ports (512\-514) that have different services
131for
132.Tn UDP
133and
134.Tn TCP .
135.El
136.Pp
137This implementation allows numeric IPv6 address notation with scope identifier,
20.\"
21.Dd February 28, 2007
22.Dt GETNAMEINFO 3
23.Os
24.Sh NAME
25.Nm getnameinfo
26.Nd socket address structure to hostname and service name
27.Sh SYNOPSIS

--- 102 unchanged lines hidden (view full) ---

130This is required for the few ports (512\-514) that have different services
131for
132.Tn UDP
133and
134.Tn TCP .
135.El
136.Pp
137This implementation allows numeric IPv6 address notation with scope identifier,
138as documented in chapter 11 of draft-ietf-ipv6-scoping-arch-02.txt.
138as documented in chapter 11 of RFC 4007.
139IPv6 link-local address will appear as a string like
140.Dq Li fe80::1%ne0 .
141Refer to
142.Xr getaddrinfo 3
143for more information.
144.Sh RETURN VALUES
145.Fn getnameinfo
146returns zero on success or one of the error codes listed in

--- 139 unchanged lines hidden ---
139IPv6 link-local address will appear as a string like
140.Dq Li fe80::1%ne0 .
141Refer to
142.Xr getaddrinfo 3
143for more information.
144.Sh RETURN VALUES
145.Fn getnameinfo
146returns zero on success or one of the error codes listed in

--- 139 unchanged lines hidden ---