updated package versions
[minix.git] / include / ttyent.h
blob9f739ba5d36bde9840cc85c3e627538e970fb6b8
1 /* <ttyent.h> is used by getttyent(3). Author: Kees J. Bot
2 * 28 Oct 1995
3 */
4 #ifndef _TTYENT_H
5 #define _TTYENT_H
7 #ifndef _ANSI_H
8 #include <ansi.h>
9 #endif
11 struct ttyent {
12 char *ty_name; /* Name of the terminal device. */
13 char *ty_type; /* Terminal type name (termcap(3)). */
14 char **ty_getty; /* Program to run, normally getty. */
15 char **ty_init; /* Initialization command, normally stty. */
18 _PROTOTYPE( struct ttyent *getttyent, (void) );
19 _PROTOTYPE( struct ttyent *getttynam, (const char *_name) );
20 _PROTOTYPE( int setttyent, (void) );
21 _PROTOTYPE( void endttyent, (void) );
23 #endif /* _TTYENT_H */