Commit | Line | Data |
---|---|---|
bec2ec44 RC |
1 | /* ttyent.h 4.1 84/04/27 */ |
2 | ||
3 | struct ttyent { /* see getttyent(3) */ | |
4 | char *ty_name; /* terminal device name */ | |
5 | char *ty_getty; /* name for gettytab (5) */ | |
6 | char *ty_type; /* terminal type for termcap (3X) */ | |
7 | int ty_status; /* status flags (see below for defines) */ | |
8 | char *ty_comment; /* unused - for comments */ | |
9 | }; | |
10 | ||
11 | #define TTY_ON 0x1 /* enable logins (startup getty) */ | |
12 | #define TTY_SECURE 0x2 /* allow root to login */ | |
13 | ||
14 | extern struct ttyent *getttyent(); | |
15 | extern struct ttyent *getttynam(); |