Commit | Line | Data |
---|---|---|
7c34017b | 1 | /* ttyent.h 4.2 85/01/30 */ |
bec2ec44 RC |
2 | |
3 | struct ttyent { /* see getttyent(3) */ | |
4 | char *ty_name; /* terminal device name */ | |
3dded225 | 5 | char *ty_getty; /* command to execute, usually getty */ |
bec2ec44 RC |
6 | char *ty_type; /* terminal type for termcap (3X) */ |
7 | int ty_status; /* status flags (see below for defines) */ | |
3dded225 RC |
8 | char *ty_window; /* command to start up window manager */ |
9 | char *ty_comment; /* usually the location of the terminal */ | |
bec2ec44 RC |
10 | }; |
11 | ||
12 | #define TTY_ON 0x1 /* enable logins (startup getty) */ | |
13 | #define TTY_SECURE 0x2 /* allow root to login */ | |
14 | ||
15 | extern struct ttyent *getttyent(); | |
16 | extern struct ttyent *getttynam(); |