Deleted Added
full compact
getttyent.3 (84306) getttyent.3 (108087)
1.\" Copyright (c) 1989, 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.\" @(#)getttyent.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1989, 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.\" @(#)getttyent.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/gen/getttyent.3 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/gen/getttyent.3 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd November 17, 1996
36.Dt GETTTYENT 3
37.Os
38.Sh NAME
39.Nm getttyent ,
40.Nm getttynam ,
41.Nm setttyent ,

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

178.Fn endttyent
179return 0 on failure and 1 on success.
180.Pp
181The routines
182.Fn isdialuptty
183and
184.Fn isnettty
185return non-zero if the dialup or network flag is set for the
34.\"
35.Dd November 17, 1996
36.Dt GETTTYENT 3
37.Os
38.Sh NAME
39.Nm getttyent ,
40.Nm getttynam ,
41.Nm setttyent ,

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

178.Fn endttyent
179return 0 on failure and 1 on success.
180.Pp
181The routines
182.Fn isdialuptty
183and
184.Fn isnettty
185return non-zero if the dialup or network flag is set for the
186tty entry relating to the tty named by the parameter, and
186tty entry relating to the tty named by the argument, and
187zero otherwise.
188.Sh FILES
189.Bl -tag -width /etc/ttys -compact
190.It Pa /etc/ttys
191.El
192.Sh SEE ALSO
193.Xr login 1 ,
194.Xr ttyslot 3 ,

--- 18 unchanged lines hidden ---
187zero otherwise.
188.Sh FILES
189.Bl -tag -width /etc/ttys -compact
190.It Pa /etc/ttys
191.El
192.Sh SEE ALSO
193.Xr login 1 ,
194.Xr ttyslot 3 ,

--- 18 unchanged lines hidden ---