Deleted Added
full compact
ttyent.h (37692) ttyent.h (93032)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ttyent.h 8.1 (Berkeley) 6/2/93
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ttyent.h 8.1 (Berkeley) 6/2/93
34 * $FreeBSD: head/include/ttyent.h 93032 2002-03-23 17:24:55Z imp $
34 */
35
36#ifndef _TTYENT_H_
37#define _TTYENT_H_
38
39#define _PATH_TTYS "/etc/ttys"
40
41#define _TTYS_OFF "off"

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

60 char *ty_window; /* command to start up window manager */
61 char *ty_comment; /* comment field */
62 char *ty_group; /* tty group */
63};
64
65#include <sys/cdefs.h>
66
67__BEGIN_DECLS
35 */
36
37#ifndef _TTYENT_H_
38#define _TTYENT_H_
39
40#define _PATH_TTYS "/etc/ttys"
41
42#define _TTYS_OFF "off"

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

61 char *ty_window; /* command to start up window manager */
62 char *ty_comment; /* comment field */
63 char *ty_group; /* tty group */
64};
65
66#include <sys/cdefs.h>
67
68__BEGIN_DECLS
68struct ttyent *getttyent __P((void));
69struct ttyent *getttynam __P((const char *));
70int setttyent __P((void));
71int endttyent __P((void));
72int isdialuptty __P((const char *));
73int isnettty __P((const char *));
69struct ttyent *getttyent(void);
70struct ttyent *getttynam(const char *);
71int setttyent(void);
72int endttyent(void);
73int isdialuptty(const char *);
74int isnettty(const char *);
74__END_DECLS
75
76#endif /* !_TTYENT_H_ */
75__END_DECLS
76
77#endif /* !_TTYENT_H_ */