8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libbc / inc / include / ttyent.h
blob1ae6271d14ad34ce47c61ddc232f3c424a79768f
1 /*
2 * Copyright 1987 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 #pragma ident "%Z%%M% %I% %E% SMI"
8 /*
9 * Copyright (c) 1983 Regents of the University of California.
10 * All rights reserved. The Berkeley software License Agreement
11 * specifies the terms and conditions for redistribution.
14 #ifndef _ttyent_h
15 #define _ttyent_h
17 struct ttyent { /* see getttyent(3) */
18 char *ty_name; /* terminal device name */
19 char *ty_getty; /* command to execute, usually getty */
20 char *ty_type; /* terminal type for termcap (3X) */
21 int ty_status; /* status flags (see below for defines) */
22 char *ty_window; /* command to start up window manager */
23 char *ty_comment; /* usually the location of the terminal */
26 #define TTY_ON 0x1 /* enable logins (startup getty) */
27 #define TTY_SECURE 0x2 /* allow root to login */
28 #define TTY_LOCAL 0x4 /* local tty, supply software carrier */
30 extern struct ttyent *getttyent();
31 extern struct ttyent *getttynam();
33 #endif /*!_ttyent_h*/