Deleted Added
full compact
realhostname_sa.3 (119964) realhostname_sa.3 (131504)
1.\" Copyright (C) 1995, 1996, 1997, 1998, 1999, and 2000 WIDE Project.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

44.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
45.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
46.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50.\" SUCH DAMAGE.
51.\"
1.\" Copyright (C) 1995, 1996, 1997, 1998, 1999, and 2000 WIDE Project.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

44.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
45.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
46.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50.\" SUCH DAMAGE.
51.\"
52.\" $FreeBSD: head/lib/libutil/realhostname_sa.3 119964 2003-09-10 19:24:35Z ru $
52.\" $FreeBSD: head/lib/libutil/realhostname_sa.3 131504 2004-07-02 23:52:20Z ru $
53.\"
54.Dd January 11, 2000
55.Os
56.Dt REALHOSTNAME_SA 3
57.Sh NAME
58.Nm realhostname_sa
59.Nd "convert a"
60.Vt "struct sockaddr"

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

67.In libutil.h
68.Ft int
69.Fn realhostname_sa "char *host" "size_t hsize" "struct sockaddr *addr" "int addrlen"
70.Sh DESCRIPTION
71The function
72.Fn realhostname_sa
73converts
74.Ar addr
53.\"
54.Dd January 11, 2000
55.Os
56.Dt REALHOSTNAME_SA 3
57.Sh NAME
58.Nm realhostname_sa
59.Nd "convert a"
60.Vt "struct sockaddr"

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

67.In libutil.h
68.Ft int
69.Fn realhostname_sa "char *host" "size_t hsize" "struct sockaddr *addr" "int addrlen"
70.Sh DESCRIPTION
71The function
72.Fn realhostname_sa
73converts
74.Ar addr
75to the corresponding host name. This is done by resolving
75to the corresponding host name.
76This is done by resolving
76.Ar addr
77to a host name and then ensuring that the host name resolves
78back to
79.Ar addr .
80.Pp
81.Ar host
82must point to a buffer of at least
83.Ar hsize

--- 49 unchanged lines hidden ---
77.Ar addr
78to a host name and then ensuring that the host name resolves
79back to
80.Ar addr .
81.Pp
82.Ar host
83must point to a buffer of at least
84.Ar hsize

--- 49 unchanged lines hidden ---