source: trunk/minix/include/ttyent.h@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 630 bytes
RevLine 
[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
11struct 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.