Deleted Added
full compact
realhostname.3 (119964) realhostname.3 (131504)
1.\" Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
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.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
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.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/lib/libutil/realhostname.3 119964 2003-09-10 19:24:35Z ru $
25.\" $FreeBSD: head/lib/libutil/realhostname.3 131504 2004-07-02 23:52:20Z ru $
26.\"
27.Dd April 6, 1999
28.Os
29.Dt REALHOSTNAME 3
30.Sh NAME
31.Nm realhostname
32.Nd "convert an IP number to the real host name"
33.Sh LIBRARY

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

38.In libutil.h
39.Ft int
40.Fn realhostname "char *host" "size_t hsize" "const struct in_addr *ip"
41.Sh DESCRIPTION
42The function
43.Fn realhostname
44converts
45.Ar ip
26.\"
27.Dd April 6, 1999
28.Os
29.Dt REALHOSTNAME 3
30.Sh NAME
31.Nm realhostname
32.Nd "convert an IP number to the real host name"
33.Sh LIBRARY

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

38.In libutil.h
39.Ft int
40.Fn realhostname "char *host" "size_t hsize" "const struct in_addr *ip"
41.Sh DESCRIPTION
42The function
43.Fn realhostname
44converts
45.Ar ip
46to the corresponding host name. This is done by resolving
46to the corresponding host name.
47This is done by resolving
47.Ar ip
48to a host name and then ensuring that the host name resolves
49back to
50.Ar ip .
51.Pp
52.Ar host
53must point to a buffer of at least
54.Ar hsize

--- 50 unchanged lines hidden ---
48.Ar ip
49to a host name and then ensuring that the host name resolves
50back to
51.Ar ip .
52.Pp
53.Ar host
54must point to a buffer of at least
55.Ar hsize

--- 50 unchanged lines hidden ---