home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / mint / init_5 / ttyent.h < prev    next >
C/C++ Source or Header  |  1993-08-03  |  635b  |  24 lines

  1. /*
  2.  * Ttyent.h    A header file for getttyent().
  3.  * Version 1.0 (c) S.R.Usher 1991.
  4.  */
  5. #ifndef _TTYENT_H_
  6. #define _TTYENT_H_
  7.  
  8. struct ttyent {
  9.     char *ty_name;        /* Terminal device name */
  10.     char *ty_getty;        /* Command to execute, usually getty */
  11.     char *ty_type;        /* Terminal type */
  12.     int   ty_status;    /* Status flags */
  13.     char *ty_window;    /* Windowing system startup command */
  14.     char *ty_comment;    /* Anything which appears as a comment */
  15. };
  16.  
  17. #define TTY_ON        0x01    /* Enable logins on this tty */
  18. #define TTY_SECURE    0x02    /* Allow root to login on this tty */
  19.  
  20. struct ttyent *getttyent();
  21. struct ttyent *getttynam();
  22.  
  23. #endif /* _TTYENT_H_ */
  24.