Deleted Added
full compact
getnetent.3 (50476) getnetent.3 (57686)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. 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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getnetent.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. 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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getnetent.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/net/getnetent.3 50476 1999-08-28 00:22:10Z peter $
33.\" $FreeBSD: head/lib/libc/net/getnetent.3 57686 2000-03-02 09:14:21Z sheldonh $
34.\"
35.Dd June 4, 1993
36.Dt GETNETENT 3
37.Os BSD 4.2
38.Sh NAME
39.Nm getnetent ,
40.Nm getnetbyaddr ,
41.Nm getnetbyname ,

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

115and
116.Fn getnetbyaddr
117sequentially search from the beginning
118of the file until a matching
119net name or
120net address and type is found,
121or until
122.Dv EOF
34.\"
35.Dd June 4, 1993
36.Dt GETNETENT 3
37.Os BSD 4.2
38.Sh NAME
39.Nm getnetent ,
40.Nm getnetbyaddr ,
41.Nm getnetbyname ,

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

115and
116.Fn getnetbyaddr
117sequentially search from the beginning
118of the file until a matching
119net name or
120net address and type is found,
121or until
122.Dv EOF
123is encountered. The
123is encountered.
124The
124.Fa type
125must be
126.Dv AF_INET .
127Network numbers are supplied in host order.
128.Sh FILES
129.Bl -tag -width /etc/networks -compact
130.It Pa /etc/networks
131.El

--- 28 unchanged lines hidden ---
125.Fa type
126must be
127.Dv AF_INET .
128Network numbers are supplied in host order.
129.Sh FILES
130.Bl -tag -width /etc/networks -compact
131.It Pa /etc/networks
132.El

--- 28 unchanged lines hidden ---