# 2.11BSD#431 - /usr/include/ttyent.h

##### Macros

    TTY_ON            X
    TTY_SECURE        X

##### struct's

    ttyent            X

       1: /*
       2:  * Copyright (c) 1983 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)ttyent.h	5.1 (Berkeley) 5/30/85
       7:  */
       8:
       9: struct  ttyent { /* see getttyent(3) */
      10:     char    *ty_name;   /* terminal device name */
      11:     char    *ty_getty;  /* command to execute, usually getty */
      12:     char    *ty_type;   /* terminal type for termcap (3X) */
      13:     int ty_status;  /* status flags (see below for defines) */
      14:     char    *ty_window; /* command to start up window manager */
      15:     char    *ty_comment;    /* usually the location of the terminal */
      16: };
      17:
      18: #define TTY_ON      0x1 /* enable logins (startup getty) */
      19: #define TTY_SECURE  0x2 /* allow root to login */
      20:
      21: extern struct ttyent *getttyent();
      22: extern struct ttyent *getttynam();

#### Defined struct's

ttyent defined in line 9; used 22 times

- in line 21-22(4)
- in /usr/src/bin/login/login.c line 482(2), 575(2)
- in /usr/src/lib/libc/gen/getttyent.c line 20(2), 89(2)
- in /usr/src/lib/libc/gen/getttynam.c line 13-17(4)
- in /usr/src/lib/libc/gen/ttyslot.c line 25(2)
- in /usr/src/sbin/init/init.c line 421(2)
- in /usr/src/ucb/tset/tset.c line 386(2)

#### Defined macros

TTY_ON defined in line 18; used 3 times

- in /usr/src/lib/libc/gen/getttyent.c line 118-120(2)
- in /usr/src/sbin/init/init.c line 428

TTY_SECURE defined in line 19; used 2 times

- in /usr/src/bin/login/login.c line 484
- in /usr/src/lib/libc/gen/getttyent.c line 122

#### Usage of this include

ttyent.h used 6 times

- in /usr/src/bin/login/login.c line 43
- in /usr/src/lib/libc/gen/getttyent.c line 13
- in /usr/src/lib/libc/gen/getttynam.c line 11
- in /usr/src/lib/libc/gen/ttyslot.c line 16
- in /usr/src/sbin/init/init.c line 19
- in /usr/src/ucb/tset/tset.c line 225

Last modified: 1986-12-15 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 485 |