Rev | Line | |
---|
[9] | 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
|
---|
| 6 |
|
---|
| 7 | #ifndef _ANSI_H
|
---|
| 8 | #include <ansi.h>
|
---|
| 9 | #endif
|
---|
| 10 |
|
---|
| 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. */
|
---|
| 16 | };
|
---|
| 17 |
|
---|
| 18 | _PROTOTYPE( struct ttyent *getttyent, (void) );
|
---|
| 19 | _PROTOTYPE( struct ttyent *getttynam, (const char *_name) );
|
---|
| 20 | _PROTOTYPE( int setttyent, (void) );
|
---|
| 21 | _PROTOTYPE( void endttyent, (void) );
|
---|
| 22 |
|
---|
| 23 | #endif /* _TTYENT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.