Deleted Added
full compact
getservent.3 (84306) getservent.3 (131504)
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.\" From: @(#)getservent.3 8.3 (Berkeley) 1/12/94
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.\" From: @(#)getservent.3 8.3 (Berkeley) 1/12/94
33.\" $FreeBSD: head/lib/libc/net/getservent.3 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/net/getservent.3 131504 2004-07-02 23:52:20Z ru $
34.\"
35.Dd July 9, 1995
36.Dt GETSERVENT 3
37.Os
38.Sh NAME
39.Nm getservent ,
40.Nm getservbyport ,
41.Nm getservbyname ,

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

94The
95.Fn getservent
96function
97reads the next line of the file, opening the file if necessary.
98.Pp
99The
100.Fn setservent
101function
34.\"
35.Dd July 9, 1995
36.Dt GETSERVENT 3
37.Os
38.Sh NAME
39.Nm getservent ,
40.Nm getservbyport ,
41.Nm getservbyname ,

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

94The
95.Fn getservent
96function
97reads the next line of the file, opening the file if necessary.
98.Pp
99The
100.Fn setservent
101function
102opens and rewinds the file. If the
102opens and rewinds the file.
103If the
103.Fa stayopen
104flag is non-zero,
105the net data base will not be closed after each call to
106.Fn getservbyname
107or
108.Fn getservbyport .
109.Pp
110The

--- 48 unchanged lines hidden ---
104.Fa stayopen
105flag is non-zero,
106the net data base will not be closed after each call to
107.Fn getservbyname
108or
109.Fn getservbyport .
110.Pp
111The

--- 48 unchanged lines hidden ---