# 2.11BSD#431 - /usr/src/sys/h/ioctl.h

##### Macros

    ANYP              X
    CBREAK            X
    CRMOD             X
    CRTBS             X
    CRTERA            X
    CRTKIL            X
    CTLECH            X
    DECCTQ            X
    ECHO              X
    EVENP             X
    FIOASYNC          X
    FIOCLEX           X
    FIOGETOWN         X
    FIONBIO           X
    FIONCLEX          X
    FIONREAD          X
    FIOSETOWN         X
    FLUSHO            X
    IOCPARM_MASK      X
    IOC_IN            X
    IOC_INOUT         X
    IOC_OUT           X
    IOC_VOID          X
    LCRTBS            X
    LCRTERA           X
    LCRTKIL           X
    LCTLECH           X
    LDECCTQ           X
    LFLUSHO           X
    LITOUT            X
    LLITOUT           X
    LMDMBUF           X
    LNOFLSH           X
    LNOHANG           X
    LPASS8            X
    LPENDIN           X
    LPRTERA           X
    LRTSCTS           X
    LTOSTOP           X
    MDMBUF            X
    NETLDISC          X
    NOFLSH            X
    NOHANG            X
    NTTYDISC          X
    ODDP              X
    OTTYDISC          X
    PASS8             X
    PENDIN            X
    PRTERA            X
    RAW               X
    RTSCTS            X
    SIOCADDRT         X
    SIOCATMARK        X
    SIOCDARP          X
    SIOCDELRT         X
    SIOCGARP          X
    SIOCGHIWAT        X
    SIOCGIFADDR       X
    SIOCGIFBRDADDR    X
    SIOCGIFCONF       X
    SIOCGIFDSTADDR    X
    SIOCGIFFLAGS      X
    SIOCGIFMETRIC     X
    SIOCGIFNETMASK    X
    SIOCGLOWAT        X
    SIOCGPGRP         X
    SIOCSARP          X
    SIOCSHIWAT        X
    SIOCSIFADDR       X
    SIOCSIFBRDADDR    X
    SIOCSIFDSTADDR    X
    SIOCSIFFLAGS      X
    SIOCSIFMETRIC     X
    SIOCSIFNETMASK    X
    SIOCSLOWAT        X
    SIOCSPGRP         X
    SLIPDISC          X
    TABLDISC          X
    TANDEM            X
    TIOCCBRK          X
    TIOCCDTR          X
    TIOCEXCL          X
    TIOCFLUSH         X
    TIOCGETC          X
    TIOCGETD          X
    TIOCGETP          X
    TIOCGLTC          X
    TIOCGPGRP         X
    TIOCGSIZE         X
    TIOCGWINSZ        X
    TIOCHPCL          X
    TIOCLBIC          X
    TIOCLBIS          X
    TIOCLGET          X
    TIOCLSET          X
    TIOCMBIC          X
    TIOCMBIS          X
    TIOCMGET          X
    TIOCMODG          X
    TIOCMODS          X
    TIOCMSET          X
    TIOCM_CAR         X
    TIOCM_CD          X
    TIOCM_CTS         X
    TIOCM_DSR         X
    TIOCM_DTR         X
    TIOCM_LE          X
    TIOCM_RI          X
    TIOCM_RNG         X
    TIOCM_RTS         X
    TIOCM_SR          X
    TIOCM_ST          X
    TIOCNOTTY         X
    TIOCNXCL          X
    TIOCOUTQ          X
    TIOCPKT           X
    TIOCPKT_DATA      X
    TIOCPKT_DOSTOP    X
    TIOCPKT_FLUSHREAD X
    TIOCPKT_FLUSHWRITEX
    TIOCPKT_NOSTOP    X
    TIOCPKT_START     X
    TIOCPKT_STOP      X
    TIOCREMOTE        X
    TIOCSBRK          X
    TIOCSDTR          X
    TIOCSETC          X
    TIOCSETD          X
    TIOCSETN          X
    TIOCSETP          X
    TIOCSLTC          X
    TIOCSPGRP         X
    TIOCSSIZE         X
    TIOCSTART         X
    TIOCSTI           X
    TIOCSTOP          X
    TIOCSWINSZ        X
    TIOCUCNTL         X
    TOSTOP            X
    UIOCCMD           X
    XTABS             X
    _IO               X
    _IOCTL_           X
    _IOR              X
    _IOW              X
    _IOWR             X
    _SGTTYB_          X

##### struct's

    ltchars           X
    sgttyb            X
    tchars            X
    ttysize           X
    winsize           X

       1: /*
       2:  * Copyright (c) 1986 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:  *	@(#)ioctl.h	1.4 (2.11BSD GTE) 1997/3/28
       7:  */
       8:
       9: /*
      10:  * Ioctl definitions
      11:  */
      12: #ifndef _IOCTL_
      13: #define _IOCTL_
      14: #ifdef KERNEL
      15: #include "ttychars.h"
      16: #include "ttydev.h"
      17: #else
      18: #include <sys/ttychars.h>
      19: #include <sys/ttydev.h>
      20: #endif
      21:
      22: struct tchars {
      23:     char    t_intrc;    /* interrupt */
      24:     char    t_quitc;    /* quit */
      25:     char    t_startc;   /* start output */
      26:     char    t_stopc;    /* stop output */
      27:     char    t_eofc;     /* end-of-file */
      28:     char    t_brkc;     /* input delimiter (like nl) */
      29: };
      30: struct ltchars {
      31:     char    t_suspc;    /* stop process signal */
      32:     char    t_dsuspc;   /* delayed stop process signal */
      33:     char    t_rprntc;   /* reprint line */
      34:     char    t_flushc;   /* flush output (toggles) */
      35:     char    t_werasc;   /* word erase */
      36:     char    t_lnextc;   /* literal next character */
      37: };
      38:
      39: /*
      40:  * Structure for TIOCGETP and TIOCSETP ioctls.
      41:  */
      42:
      43: #ifndef _SGTTYB_
      44: #define _SGTTYB_
      45: struct sgttyb {
      46:     char    sg_ispeed;      /* input speed */
      47:     char    sg_ospeed;      /* output speed */
      48:     char    sg_erase;       /* erase character */
      49:     char    sg_kill;        /* kill character */
      50:     short   sg_flags;       /* mode flags */
      51: };
      52: #endif
      53:
      54: /*
      55:  * Window/terminal size structure.
      56:  * This information is stored by the kernel
      57:  * in order to provide a consistent interface,
      58:  * but is not used by the kernel.
      59:  *
      60:  * Type must be "unsigned short" so that types.h not required.
      61:  */
      62: struct winsize {
      63:     unsigned short  ws_row;         /* rows, in characters */
      64:     unsigned short  ws_col;         /* columns, in characters */
      65:     unsigned short  ws_xpixel;      /* horizontal size, pixels */
      66:     unsigned short  ws_ypixel;      /* vertical size, pixels */
      67: };
      68:
      69: /*
      70:  * Pun for SUN.
      71:  */
      72: struct ttysize {
      73:     unsigned short  ts_lines;
      74:     unsigned short  ts_cols;
      75:     unsigned short  ts_xxx;
      76:     unsigned short  ts_yyy;
      77: };
      78: #define TIOCGSIZE   TIOCGWINSZ
      79: #define TIOCSSIZE   TIOCSWINSZ
      80:
      81: #ifndef _IO
      82: /*
      83:  * Ioctl's have the command encoded in the lower word,
      84:  * and the size of any in or out parameters in the upper
      85:  * word.  The high 2 bits of the upper word are used
      86:  * to encode the in/out status of the parameter; for now
      87:  * we restrict parameters to at most 256 bytes (disklabels are 216 bytes).
      88:  */
      89: #define IOCPARM_MASK    0xff        /* parameters must be < 256 bytes */
      90: #define IOC_VOID    0x20000000  /* no parameters */
      91: #define IOC_OUT     0x40000000  /* copy out parameters */
      92: #define IOC_IN      0x80000000  /* copy in parameters */
      93: #define IOC_INOUT   (IOC_IN|IOC_OUT)
      94: /* the 0x20000000 is so we can distinguish new ioctl's from old */
      95: #ifdef KERNEL
      96: #define _IO(x,y)    (('x'<<8)|y)
      97: #define _IOR(x,y,t) (('x'<<8)|y)
      98: #define _IOW(x,y,t) (('x'<<8)|y)
      99: /* this should be _IORW, but stdio got there first */
     100: #define _IOWR(x,y,t)    (('x'<<8)|y)
     101: #else
     102: #define _IO(x,y)    (IOC_VOID|('x'<<8)|y)
     103: #define _IOR(x,y,t) (IOC_OUT|((long)(sizeof(t)&IOCPARM_MASK)<<16)|('x'<<8)|y)
     104: #define _IOW(x,y,t) (IOC_IN|((long)(sizeof(t)&IOCPARM_MASK)<<16)|('x'<<8)|y)
     105: /* this should be _IORW, but stdio got there first */
     106: #define _IOWR(x,y,t)    (IOC_INOUT|((long)(sizeof(t)&IOCPARM_MASK)<<16)|('x'<<8)|y)
     107: #endif
     108: #endif
     109:
     110: /*
     111:  * tty ioctl commands
     112:  */
     113: #define TIOCGETD    _IOR(t, 0, int)     /* get line discipline */
     114: #define TIOCSETD    _IOW(t, 1, int)     /* set line discipline */
     115: #define TIOCHPCL    _IO(t, 2)       /* hang up on last close */
     116: #define TIOCMODG    _IOR(t, 3, int)     /* get modem control state */
     117: #define TIOCMODS    _IOW(t, 4, int)     /* set modem control state */
     118: #define     TIOCM_LE    0001        /* line enable */
     119: #define     TIOCM_DTR   0002        /* data terminal ready */
     120: #define     TIOCM_RTS   0004        /* request to send */
     121: #define     TIOCM_ST    0010        /* secondary transmit */
     122: #define     TIOCM_SR    0020        /* secondary receive */
     123: #define     TIOCM_CTS   0040        /* clear to send */
     124: #define     TIOCM_CAR   0100        /* carrier detect */
     125: #define     TIOCM_CD    TIOCM_CAR
     126: #define     TIOCM_RNG   0200        /* ring */
     127: #define     TIOCM_RI    TIOCM_RNG
     128: #define     TIOCM_DSR   0400        /* data set ready */
     129: #define TIOCGETP    _IOR(t, 8,struct sgttyb)/* get parameters -- gtty */
     130: #define TIOCSETP    _IOW(t, 9,struct sgttyb)/* set parameters -- stty */
     131: #define TIOCSETN    _IOW(t,10,struct sgttyb)/* as above, but no flushtty */
     132: #define TIOCEXCL    _IO(t, 13)      /* set exclusive use of tty */
     133: #define TIOCNXCL    _IO(t, 14)      /* reset exclusive use of tty */
     134: #define TIOCFLUSH   _IOW(t, 16, int)    /* flush buffers */
     135: #define TIOCSETC    _IOW(t,17,struct tchars)/* set special characters */
     136: #define TIOCGETC    _IOR(t,18,struct tchars)/* get special characters */
     137: #define     TANDEM      0x00000001  /* send stopc on out q full */
     138: #define     CBREAK      0x00000002  /* half-cooked mode */
     139:                         /* 0x4 (old LCASE) */
     140: #define     ECHO        0x00000008  /* echo input */
     141: #define     CRMOD       0x00000010  /* map \r to \r\n on output */
     142: #define     RAW     0x00000020  /* no i/o processing */
     143: #define     ODDP        0x00000040  /* get/send odd parity */
     144: #define     EVENP       0x00000080  /* get/send even parity */
     145: #define     ANYP        0x000000c0  /* get any parity/send none */
     146:                         /* 0x100 (old NLDELAY) */
     147:                         /* 0x200 */
     148: #define     XTABS       0x00000400  /* expand tabs on output */
     149:                         /* 0x0800 (part of old XTABS) */
     150:                         /* 0x1000 (old CRDELAY) */
     151:                         /* 0x2000 */
     152:                         /* 0x4000 (old VTDELAY) */
     153:                         /* 0x8000 (old BSDELAY) */
     154: #define     CRTBS       0x00010000  /* do backspacing for crt */
     155: #define     PRTERA      0x00020000  /* \ ... / erase */
     156: #define     CRTERA      0x00040000  /* " \b " to wipe out char */
     157:                         /* 0x00080000 (old TILDE) */
     158: #define     MDMBUF      0x00100000  /* start/stop output on carrier intr */
     159: #define     LITOUT      0x00200000  /* literal output */
     160: #define     TOSTOP      0x00400000  /* SIGSTOP on background output */
     161: #define     FLUSHO      0x00800000  /* flush output to terminal */
     162: #define     NOHANG      0x01000000  /* no SIGHUP on carrier drop */
     163: #define     RTSCTS      0x02000000  /* use RTS/CTS flow control */
     164: #define     CRTKIL      0x04000000  /* kill line with " \b " */
     165: #define     PASS8       0x08000000
     166: #define     CTLECH      0x10000000  /* echo control chars as ^X */
     167: #define     PENDIN      0x20000000  /* tp->t_rawq needs reread */
     168: #define     DECCTQ      0x40000000  /* only ^Q starts after ^S */
     169: #define     NOFLSH      0x80000000  /* no output flush on signal */
     170: /* locals, from 127 down */
     171: #define TIOCLBIS    _IOW(t, 127, int)   /* bis local mode bits */
     172: #define TIOCLBIC    _IOW(t, 126, int)   /* bic local mode bits */
     173: #define TIOCLSET    _IOW(t, 125, int)   /* set entire local mode word */
     174: #define TIOCLGET    _IOR(t, 124, int)   /* get local modes */
     175: #define     LCRTBS      ((int)(CRTBS>>16))
     176: #define     LPRTERA     ((int)(PRTERA>>16))
     177: #define     LCRTERA     ((int)(CRTERA>>16))
     178: #define     LMDMBUF     ((int)(MDMBUF>>16))
     179: #define     LLITOUT     ((int)(LITOUT>>16))
     180: #define     LTOSTOP     ((int)(TOSTOP>>16))
     181: #define     LFLUSHO     ((int)(FLUSHO>>16))
     182: #define     LNOHANG     ((int)(NOHANG>>16))
     183: #define     LRTSCTS     ((int)(RTSCTS>>16))
     184: #define     LCRTKIL     ((int)(CRTKIL>>16))
     185: #define     LPASS8      ((int)(PASS8>>16))
     186: #define     LCTLECH     ((int)(CTLECH>>16))
     187: #define     LPENDIN     ((int)(PENDIN>>16))
     188: #define     LDECCTQ     ((int)(DECCTQ>>16))
     189: #define     LNOFLSH     ((int)(NOFLSH>>16))
     190: #define TIOCSBRK    _IO(t, 123)     /* set break bit */
     191: #define TIOCCBRK    _IO(t, 122)     /* clear break bit */
     192: #define TIOCSDTR    _IO(t, 121)     /* set data terminal ready */
     193: #define TIOCCDTR    _IO(t, 120)     /* clear data terminal ready */
     194: #define TIOCGPGRP   _IOR(t, 119, int)   /* get pgrp of tty */
     195: #define TIOCSPGRP   _IOW(t, 118, int)   /* set pgrp of tty */
     196: #define TIOCSLTC    _IOW(t,117,struct ltchars)/* set local special chars */
     197: #define TIOCGLTC    _IOR(t,116,struct ltchars)/* get local special chars */
     198: #define TIOCOUTQ    _IOR(t, 115, int)   /* output queue size */
     199: #define TIOCSTI     _IOW(t, 114, char)  /* simulate terminal input */
     200: #define TIOCNOTTY   _IO(t, 113)     /* void tty association */
     201: #define TIOCPKT     _IOW(t, 112, int)   /* pty: set/clear packet mode */
     202: #define     TIOCPKT_DATA        0x00    /* data packet */
     203: #define     TIOCPKT_FLUSHREAD   0x01    /* flush packet */
     204: #define     TIOCPKT_FLUSHWRITE  0x02    /* flush packet */
     205: #define     TIOCPKT_STOP        0x04    /* stop output */
     206: #define     TIOCPKT_START       0x08    /* start output */
     207: #define     TIOCPKT_NOSTOP      0x10    /* no more ^S, ^Q */
     208: #define     TIOCPKT_DOSTOP      0x20    /* now do ^S ^Q */
     209: #define TIOCSTOP    _IO(t, 111)     /* stop output, like ^S */
     210: #define TIOCSTART   _IO(t, 110)     /* start output, like ^Q */
     211: #define TIOCMSET    _IOW(t, 109, int)   /* set all modem bits */
     212: #define TIOCMBIS    _IOW(t, 108, int)   /* bis modem bits */
     213: #define TIOCMBIC    _IOW(t, 107, int)   /* bic modem bits */
     214: #define TIOCMGET    _IOR(t, 106, int)   /* get all modem bits */
     215: #define TIOCREMOTE  _IOW(t, 105, int)   /* remote input editing */
     216: #define TIOCGWINSZ  _IOR(t, 104, struct winsize)    /* get window size */
     217: #define TIOCSWINSZ  _IOW(t, 103, struct winsize)    /* set window size */
     218: #define TIOCUCNTL   _IOW(t, 102, int)   /* pty: set/clr usr cntl mode */
     219: #define     UIOCCMD(n)  _IO(u, n)       /* usr cntl op "n" */
     220:
     221: #define OTTYDISC    0       /* old, v7 std tty driver */
     222: #define NETLDISC    1       /* line discip for berk net */
     223: #define NTTYDISC    2       /* new tty discipline */
     224: #define TABLDISC    3       /* tablet discipline */
     225: #define SLIPDISC    4       /* serial IP discipline */
     226:
     227: #define FIOCLEX     _IO(f, 1)       /* set exclusive use on fd */
     228: #define FIONCLEX    _IO(f, 2)       /* remove exclusive use */
     229: /* another local */
     230: /* should use off_t for FIONREAD but that would require types.h */
     231: #define FIONREAD    _IOR(f, 127, long)  /* get # bytes to read */
     232: #define FIONBIO     _IOW(f, 126, int)   /* set/clear non-blocking i/o */
     233: #define FIOASYNC    _IOW(f, 125, int)   /* set/clear async i/o */
     234: #define FIOSETOWN   _IOW(f, 124, int)   /* set owner */
     235: #define FIOGETOWN   _IOR(f, 123, int)   /* get owner */
     236:
     237: /* socket i/o controls */
     238: #define SIOCSHIWAT  _IOW(s,  0, int)        /* set high watermark */
     239: #define SIOCGHIWAT  _IOR(s,  1, int)        /* get high watermark */
     240: #define SIOCSLOWAT  _IOW(s,  2, int)        /* set low watermark */
     241: #define SIOCGLOWAT  _IOR(s,  3, int)        /* get low watermark */
     242: #define SIOCATMARK  _IOR(s,  7, int)        /* at oob mark? */
     243: #define SIOCSPGRP   _IOW(s,  8, int)        /* set process group */
     244: #define SIOCGPGRP   _IOR(s,  9, int)        /* get process group */
     245:
     246: #define SIOCADDRT   _IOW(r, 10, struct rtentry) /* add route */
     247: #define SIOCDELRT   _IOW(r, 11, struct rtentry) /* delete route */
     248:
     249: #define SIOCSIFADDR _IOW(i, 12, struct ifreq)   /* set ifnet address */
     250: #define SIOCGIFADDR _IOWR(i,13, struct ifreq)   /* get ifnet address */
     251: #define SIOCSIFDSTADDR  _IOW(i, 14, struct ifreq)   /* set p-p address */
     252: #define SIOCGIFDSTADDR  _IOWR(i,15, struct ifreq)   /* get p-p address */
     253: #define SIOCSIFFLAGS    _IOW(i, 16, struct ifreq)   /* set ifnet flags */
     254: #define SIOCGIFFLAGS    _IOWR(i,17, struct ifreq)   /* get ifnet flags */
     255: #define SIOCGIFBRDADDR  _IOWR(i,18, struct ifreq)   /* get broadcast addr */
     256: #define SIOCSIFBRDADDR  _IOW(i,19, struct ifreq)    /* set broadcast addr */
     257: #define SIOCGIFCONF _IOWR(i,20, struct ifconf)  /* get ifnet list */
     258: #define SIOCGIFNETMASK  _IOWR(i,21, struct ifreq)   /* get net addr mask */
     259: #define SIOCSIFNETMASK  _IOW(i,22, struct ifreq)    /* set net addr mask */
     260: #define SIOCGIFMETRIC   _IOWR(i,23, struct ifreq)   /* get IF metric */
     261: #define SIOCSIFMETRIC   _IOW(i,24, struct ifreq)    /* set IF metric */
     262:
     263: #define SIOCSARP    _IOW(i, 30, struct arpreq)  /* set arp entry */
     264: #define SIOCGARP    _IOWR(i,31, struct arpreq)  /* get arp entry */
     265: #define SIOCDARP    _IOW(i, 32, struct arpreq)  /* delete arp entry */
     266:
     267: #endif

#### Defined struct's

ltchars defined in line 30; used 68 times

- in /usr/src/bin/login/login.c line 78(2)
- in /usr/src/bin/stty/stty.c line 133(2)
- in /usr/src/bin/tcsh/tc.disc.c line 105(2)
- in /usr/src/games/hack/hack.ioctl.c line 13(2)
- in /usr/src/games/rogue/machdep.c line 131-133(4)
- in /usr/src/games/snake/snake.h line 47(2)
- in /usr/src/libexec/getty/init.c line 21(2)
- in /usr/src/libexec/getty/main.c line 38(2)
- in /usr/src/libexec/getty/subr.c line 19(2)
- in /usr/src/libexec/telnetd/telnetd.c line 690(2)
- in /usr/src/new/PORT/B/src/bed/unix.c line 275(2), 326(2)
- in /usr/src/new/jove/iproc-ptys.c line 47(2)
- in /usr/src/new/jove/jove.c line 63(2)
- in /usr/src/new/kermit5.188/ckutio.c line 743(2)
- in /usr/src/sys/sys/tty.c line 507-511(4)
- in /usr/src/ucb/rlogin.c line 173-175(4), 550(2)
- in /usr/src/ucb/script.c line 43(2)
- in /usr/src/ucb/talk/init_disp.c line 70(2)
- in /usr/src/ucb/telnet.c line 138(2), 593-599(6)
- in /usr/src/ucb/tn3270/tn3270.c line 162(2), 407(2), 414(2)
- in /usr/src/ucb/tset/tset.c line 415(2)
- in /usr/src/ucb/window/ww.h line 95(2)
- in /usr/src/usr.bin/tip/tip.h line 204-205(4)

sgttyb defined in line 45; used 340 times

- in /usr/include/curses.h line 34(2)
- in /usr/ingres/source/iutil/initucode.c line 226(2)
- in /usr/src/bin/adb/defs.h line 197(2)
- in /usr/src/bin/csh/sh.file.c line 46(2), 75(2), 96(2)
- in /usr/src/bin/csh/sh.lex.c line 1129(2)
- in /usr/src/bin/login/login.c line 74(2), 289(2)
- in /usr/src/bin/ls/ls.c line 76(2)
- in /usr/src/bin/stty/stty.c line 134(2)
- in /usr/src/bin/tcsh/ed.init.c line 1041(2)
- in /usr/src/bin/tcsh/sh.file.c line 119(2), 163(2), 202(2)
- in /usr/src/bin/tcsh/sh.lex.c line 1340(2)
- in /usr/src/games/atc/extern.c line 25(2)
- in /usr/src/games/backgammon/back.h line 91(2)
- in /usr/src/games/boggle/boggle.c line 53(2)
- in /usr/src/games/hunt/hunt.c line 636(2)
- in /usr/src/games/hunt/hunt.h line 191(2)
- in /usr/src/games/rain.c line 34(2), 57(2), 162(2)
- in /usr/src/games/rogue/machdep.c line 588(2)
- in /usr/src/games/snake/snake.h line 45(2)
- in /usr/src/games/trek/main.c line 133(2)
- in /usr/src/games/worms.c line 166(2)
- in /usr/src/games/wump.c line 393(2)
- in /usr/src/include/curses.h line 34(2)
- in /usr/src/lib/libc/gen/getpass.c line 13(2)
- in /usr/src/lib/libc/gen/isatty.c line 13(2)
- in /usr/src/libexec/comsat/comsat.c line 162(2)
- in /usr/src/libexec/getty/init.c line 19(2)
- in /usr/src/libexec/getty/main.c line 31(2)
- in /usr/src/libexec/getty/subr.c line 17(2)
- in /usr/src/libexec/rlogind/rlogind.c line 581(2)
- in /usr/src/libexec/talkd/announce.c line 85(2), 165(2)
- in /usr/src/libexec/telnetd/telnetd.c line 242(2), 710(2), 1009(2), 1025(2), 1045(2)
- in /usr/src/local/less/screen.c line 118-119(4)
- in /usr/src/local/qterm/qterm.c line 224(2)
- in /usr/src/local/zmodem/rbsb.c line 160(2)
- in /usr/src/new/OLD/apl/src/am.c line 21(2), 53(2)
- in /usr/src/new/PORT/B/src/bed/help.c line 76(2)
- in /usr/src/new/PORT/B/src/bed/unix.c line 268(2), 291(2)
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 102(2)
- in /usr/src/new/PORT/apl/src/am.c line 21(2), 53(2)
- in /usr/src/new/jove/iproc-pipes.c line 92(2)
- in /usr/src/new/jove/iproc-ptys.c line 41(2), 267(2), 300-309(8), 333(2), 343-352(8), 360-364(4), 373(2)
- in /usr/src/new/jove/jove.c line 80(2), 331(2), 535(2), 545(2), 644-657(20)
- in /usr/src/new/kermit5.188/ckutio.c line 728-733(4), 741(2), 753-758(4), 870(2), 4184(2), 5855(2)
- in /usr/src/new/notes/src/miscio.c line 37(2)
- in /usr/src/old/cu/cu.c line 120(2), 195-196(4), 235(2), 299(2), 683(2)
- in /usr/src/sbin/slattach/slattach.c line 29(2)
- in /usr/src/sys/sys/tty.c line 441(4), 477(4)
- in /usr/src/ucb/Mail/main.c line 271(2)
- in /usr/src/ucb/Mail/tty.c line 61(2)
- in /usr/src/ucb/clear.c line 43(2)
- in /usr/src/ucb/lock/lock.c line 50(2)
- in /usr/src/ucb/more/more.c line 56(2)
- in /usr/src/ucb/msgs/msgs.c line 102(2)
- in /usr/src/ucb/rlogin.c line 71(2), 181(2), 420(2), 551(2)
- in /usr/src/ucb/script.c line 41(2), 172(2)
- in /usr/src/ucb/talk/init_disp.c line 69-73(4)
- in /usr/src/ucb/talk/io.c line 77(2)
- in /usr/src/ucb/telnet.c line 139(2), 594(2)
- in /usr/src/ucb/tn3270/datastream.c line 77(2)
- in /usr/src/ucb/tn3270/tn3270.c line 163(2), 415(2)
- in /usr/src/ucb/tset/tset.c line 355-356(4), 957(2), 967(2)
- in /usr/src/ucb/window/ww.h line 93(2)
- in /usr/src/usr.bin/roff/common_source/n1.c line 63(2)
- in /usr/src/usr.bin/roff/common_source/n2.c line 55(2)
- in /usr/src/usr.bin/roff/common_source/n5.c line 67(2)
- in /usr/src/usr.bin/roff/common_source/nii.c line 63(2)
- in /usr/src/usr.bin/roff/nroff/n10.c line 32(2)
- in /usr/src/usr.bin/tabs.c line 64(2)
- in /usr/src/usr.bin/tip/cmds.c line 239(2), 270(2), 737(2)
- in /usr/src/usr.bin/tip/tip.h line 200-201(4)
- in /usr/src/usr.bin/uucp/aculib/att2224.c line 128(2)
- in /usr/src/usr.bin/uucp/aculib/df12.c line 129(2)
- in /usr/src/usr.bin/uucp/aculib/hys.c line 152(2)
- in /usr/src/usr.bin/uucp/aculib/hysq.c line 123(2)
- in /usr/src/usr.bin/uucp/aculib/nov.c line 86(2)
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 51(2)
- in /usr/src/usr.bin/uucp/aculib/va820.c line 28(2)
- in /usr/src/usr.bin/uucp/cico.c line 78(2), 661(2)
- in /usr/src/usr.bin/uucp/condevs.c line 448(2)
- in /usr/src/usr.bin/uucp/conn.c line 522(2), 1111(2)
- in /usr/src/usr.lib/lib2648/ttyinit.c line 17(2)
- in /usr/src/usr.lib/libcurses/curses.h line 34(2)
- in /usr/src/usr.lib/libplot/aed/aed.h line 17(2)
- in /usr/src/usr.lib/libplot/aed/open.c line 19(2)
- in /usr/src/usr.lib/libplot/hp2648/hp2648.h line 50(2)
- in /usr/src/usr.lib/libplot/hp2648/open.c line 23(2)
- in /usr/src/usr.lib/libplot/t300/con.h line 25(2)
- in /usr/src/usr.lib/libplot/t300/open.c line 26(2)
- in /usr/src/usr.lib/libplot/t300s/con.h line 33(2)
- in /usr/src/usr.lib/libplot/t300s/open.c line 26(2)
- in /usr/src/usr.lib/libplot/t450/con.h line 27(2)
- in /usr/src/usr.lib/libplot/t450/open.c line 28(2)
- in /usr/src/usr.sbin/lpr/lpq.c line 41(2)
- in /usr/src/usr.sbin/lpr/printjob.c line 1220(2)
- in /usr/src/usr.sbin/ntp/read_psti.c line 87(2)
- in /usr/src/usr.sbin/sendmail.MX/aux/mconnect.c line 36(2)
- in /usr/src/usr.sbin/sendmail/aux/mconnect.c line 31(2)

tchars defined in line 22; used 78 times

- in /usr/src/bin/csh/sh.file.c line 47(2)
- in /usr/src/bin/login/login.c line 75(2)
- in /usr/src/bin/stty/stty.c line 132(2)
- in /usr/src/bin/tcsh/sh.file.c line 120(2)
- in /usr/src/games/rogue/machdep.c line 132-134(4)
- in /usr/src/libexec/getty/init.c line 20(2)
- in /usr/src/libexec/getty/main.c line 34(2)
- in /usr/src/libexec/getty/subr.c line 18(2)
- in /usr/src/libexec/telnetd/telnetd.c line 1026(2), 1046(2)
- in /usr/src/local/zmodem/rbsb.c line 161(2)
- in /usr/src/new/PORT/B/src/bed/unix.c line 271(2), 304(2)
- in /usr/src/new/jove/iproc-ptys.c line 44(2)
- in /usr/src/new/jove/jove.c line 67(2)
- in /usr/src/new/kermit5.188/ckutio.c line 735(2), 2781(2)
- in /usr/src/sys/sys/tty.c line 498-502(4)
- in /usr/src/ucb/rlogin.c line 172-174(4), 549(2)
- in /usr/src/ucb/script.c line 42(2)
- in /usr/src/ucb/telnet.c line 137(2), 592-598(6)
- in /usr/src/ucb/tn3270/tn3270.c line 161(2), 406(2), 413(2)
- in /usr/src/ucb/tset/tset.c line 357-358(4), 958(2), 968(2)
- in /usr/src/ucb/window/ww.h line 94(2)
- in /usr/src/usr.bin/tip/tip.h line 202-203(4)
- in /usr/src/usr.lib/lib2648/ttyinit.c line 18(2)

ttysize defined in line 72; used 6 times

- in /usr/src/bin/tcsh/ed.screen.c line 1324(2)
- in /usr/src/ucb/rlogin.c line 56(2), 355(2)

winsize defined in line 62; used 64 times

- in /usr/src/bin/csh/sh.file.c line 177(2)
- in /usr/src/bin/login/login.c line 373(2)
- in /usr/src/bin/ls/ls.c line 60(2)
- in /usr/src/bin/ps.c line 116(2)
- in /usr/src/bin/stty/stty.c line 135(2)
- in /usr/src/bin/tcsh/ed.screen.c line 1310(2)
- in /usr/src/bin/tcsh/sh.file.c line 283(2)
- in /usr/src/libexec/rlogind/rlogind.c line 126(2), 334(2)
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 464(2)
- in /usr/src/new/jove/iproc-ptys.c line 271(2)
- in /usr/src/new/jove/jove.c line 474(2)
- in /usr/src/new/rn/term.c line 195(2)
- in /usr/src/sys/sys/tty.c line 560-561(4), 567(2)
- in /usr/src/ucb/Mail/main.c line 272(2)
- in /usr/src/ucb/ex/ex_subr.c line 904(2)
- in /usr/src/ucb/ex/ex_tty.c line 150(2)
- in /usr/src/ucb/more/more.c line 500(2), 1430(2)
- in /usr/src/ucb/msgs/msgs.c line 399(2)
- in /usr/src/ucb/rlogin.c line 62(2), 367(2), 382-383(6)
- in /usr/src/ucb/script.c line 44(2)
- in /usr/src/ucb/tset/tset.c line 378(2)
- in /usr/src/ucb/window/ttinit.c line 33(2)
- in /usr/src/ucb/window/wwopen.c line 67(2)
- in /usr/src/ucb/window/wwsize.c line 149(2)

#### Defined macros

ANYP defined in line 145; used 20 times

- in /usr/src/bin/tcsh/ed.init.c line 389-393(2), 527-531(2), 849, 860-864(2)
- in /usr/src/libexec/getty/subr.c line 146
- in /usr/src/libexec/rlogind/rlogind.c line 596
- in /usr/src/libexec/telnetd/telnetd.c line 283
- in /usr/src/new/kermit5.188/ckutio.c line 2870, 3027
- in /usr/src/sbin/slattach/slattach.c line 49
- in /usr/src/ucb/tset/tset.c line 436
- in /usr/src/usr.bin/tip/tip.c line 175
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 97
- in /usr/src/usr.bin/uucp/conn.c line 547, 1128
- in /usr/src/usr.bin/uucp/fio.c line 98
- in /usr/src/usr.sbin/ntp/read_psti.c line 125

CBREAK defined in line 138; used 94 times

- in /usr/include/curses.h line 147-148(2)
- in /usr/src/bin/csh/sh.file.c line 59-60(2)
- in /usr/src/bin/stty/stty.c line 79-80(2), 424-425(2)
- in /usr/src/bin/tcsh/ed.init.c line 388-392(2), 527-531(2), 834, 848, 860-864(2), 1066
- in /usr/src/bin/tcsh/sh.file.c line 131-132(2)
- in /usr/src/games/atc/main.c line 117
- in /usr/src/games/backgammon/main.c line 86
- in /usr/src/games/backgammon/teach.c line 54
- in /usr/src/games/boggle/boggle.c line 573
- in /usr/src/games/hack/hack.tty.c line 21
- in /usr/src/games/rogue/machdep.c line 594
- in /usr/src/games/snake/move.c line 619
- in /usr/src/include/curses.h line 147-148(2)
- in /usr/src/libexec/getty/subr.c line 160
- in /usr/src/local/less/screen.c line 139
- in /usr/src/local/zmodem/rbsb.c line 263
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 651
- in /usr/src/new/jove/jove.c line 593, 605-611(3)
- in /usr/src/new/kermit5.188/ckutio.c line 2792, 2822, 5205
- in /usr/src/new/notes/src/miscio.c line 103
- in /usr/src/sys/sys/tty.c line 226, 452-453(3), 584, 923, 1071, 1201, 1248, 1262
- in /usr/src/sys/sys/tty_pty.c line 367, 435
- in /usr/src/ucb/ex/ex.h line 380
- in /usr/src/ucb/ex/ex_cmds2.c line 505
- in /usr/src/ucb/ex/ex_put.c line 895-896(2), 1020
- in /usr/src/ucb/ex/ex_subr.c line 821, 831, 849
- in /usr/src/ucb/ex/ex_v.c line 374, 387
- in /usr/src/ucb/ex/ex_vmain.c line 940, 946-950(2)
- in /usr/src/ucb/ex/ex_voper.c line 627, 634-638(2)
- in /usr/src/ucb/ex/ex_vwind.c line 243, 266, 281, 352, 368, 381, 400, 417
- in /usr/src/ucb/more/more.c line 46, 1534
- in /usr/src/ucb/rlogin.c line 456, 466, 559, 569
- in /usr/src/ucb/telnet.c line 617, 644
- in /usr/src/ucb/tn3270/tn3270.c line 439
- in /usr/src/ucb/tset/tset.c line 435, 733
- in /usr/src/ucb/window/wwinit.c line 41
- in /usr/src/usr.bin/tip/tip.c line 175
- in /usr/src/usr.bin/uucp/fio.c line 98
- in /usr/src/usr.lib/lib2648/ttyinit.c line 36
- in /usr/src/usr.lib/libcurses/curses.h line 147-148(2)
- in /usr/src/usr.lib/libplot/aed/open.c line 58

CRMOD defined in line 141; used 80 times

- in /usr/include/curses.h line 146, 153-154(2)
- in /usr/src/bin/csh/sh.file.c line 81
- in /usr/src/bin/stty/stty.c line 71-72(2), 417-418(2)
- in /usr/src/bin/tcsh/ed.init.c line 389-393(2), 527-531(2), 849, 860-864(2)
- in /usr/src/bin/tcsh/sh.file.c line 169
- in /usr/src/games/backgammon/main.c line 122-123(2)
- in /usr/src/games/backgammon/teach.c line 67-68(2)
- in /usr/src/games/rain.c line 107
- in /usr/src/games/rogue/machdep.c line 595
- in /usr/src/games/snake/move.c line 618
- in /usr/src/include/curses.h line 146, 153-154(2)
- in /usr/src/libexec/comsat/comsat.c line 182
- in /usr/src/libexec/getty/main.c line 225
- in /usr/src/libexec/getty/subr.c line 154
- in /usr/src/libexec/rlogind/rlogind.c line 596
- in /usr/src/libexec/telnetd/telnetd.c line 283, 909, 943
- in /usr/src/local/zmodem/rbsb.c line 264
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 647-650(2)
- in /usr/src/new/jove/iproc-ptys.c line 369
- in /usr/src/new/jove/jove.c line 592, 598
- in /usr/src/new/kermit5.188/ckutio.c line 2864-2866(2), 5359
- in /usr/src/old/cu/cu.c line 690-698(3)
- in /usr/src/sys/pdp/cons.c line 65
- in /usr/src/sys/sys/tty.c line 1098, 1232, 1644, 1667
- in /usr/src/ucb/ex/ex_put.c line 856, 894, 1002
- in /usr/src/ucb/ex/ex_tty.c line 32
- in /usr/src/ucb/rlogin.c line 184
- in /usr/src/ucb/telnet.c line 619-621(2), 645
- in /usr/src/ucb/tn3270/tn3270.c line 441-443(2)
- in /usr/src/ucb/tset/tset.c line 436, 740-742(2), 789-791(2)
- in /usr/src/ucb/window/wwinit.c line 42
- in /usr/src/usr.bin/tabs.c line 94-99(2)
- in /usr/src/usr.lib/lib2648/ttyinit.c line 37
- in /usr/src/usr.lib/libcurses/curses.h line 146, 153-154(2)
- in /usr/src/usr.lib/libplot/t300/open.c line 41
- in /usr/src/usr.lib/libplot/t300s/open.c line 41
- in /usr/src/usr.lib/libplot/t450/open.c line 43
- in /usr/src/usr.sbin/ntp/read_psti.c line 125
- in /usr/src/usr.sbin/sendmail.MX/aux/mconnect.c line 75-77(2)
- in /usr/src/usr.sbin/sendmail/aux/mconnect.c line 81-83(2)

CRTBS defined in line 154; used 3 times

- in line 175
- in /usr/src/libexec/getty/subr.c line 169
- in /usr/src/sys/sys/tty.c line 1492

CRTERA defined in line 156; used 3 times

- in line 177
- in /usr/src/libexec/getty/subr.c line 171
- in /usr/src/sys/sys/tty.c line 1580

CRTKIL defined in line 164; used 3 times

- in line 184
- in /usr/src/libexec/getty/subr.c line 173
- in /usr/src/sys/sys/tty.c line 945

CTLECH defined in line 166; used 4 times

- in line 186
- in /usr/src/libexec/getty/subr.c line 179
- in /usr/src/sys/sys/tty.c line 1516, 1647

DECCTQ defined in line 168; used 3 times

- in line 188
- in /usr/src/libexec/getty/subr.c line 181
- in /usr/src/sys/sys/tty.c line 1030

ECHO defined in line 140; used 112 times

- in /usr/include/curses.h line 151-152(2)
- in /usr/src/bin/csh/sh.file.c line 102
- in /usr/src/bin/stty/stty.c line 73-74(2), 419-420(2)
- in /usr/src/bin/tcsh/ed.init.c line 301, 389-393(2), 453, 526-530(2), 661-663(2), 849, 859-863(2)
- in /usr/src/bin/tcsh/sh.file.c line 193, 209
- in /usr/src/games/atc/main.c line 118, 126
- in /usr/src/games/backgammon/main.c line 86-88(2)
- in /usr/src/games/backgammon/teach.c line 54-56(2)
- in /usr/src/games/hack/hack.tty.c line 62, 80-81(2)
- in /usr/src/games/rain.c line 102-107(2)
- in /usr/src/games/rogue/machdep.c line 595, 609
- in /usr/src/games/snake/move.c line 618
- in /usr/src/include/curses.h line 151-152(2)
- in /usr/src/lib/libc/gen/getpass.c line 29
- in /usr/src/libexec/getty/subr.c line 177
- in /usr/src/libexec/rlogind/rlogind.c line 596
- in /usr/src/libexec/telnetd/telnetd.c line 286, 909, 943
- in /usr/src/local/less/screen.c line 104, 140
- in /usr/src/local/zmodem/rbsb.c line 220, 264, 285
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 647-650(2), 657
- in /usr/src/new/jove/iproc-ptys.c line 369
- in /usr/src/new/jove/jove.c line 584, 592, 598
- in /usr/src/new/kermit5.188/ckutio.c line 388, 1541-1542(2), 1550-1551(2), 2864-2866(2), 2915, 3027-3029(2), 3050, 5206-5209(2), 5292, 5359
- in /usr/src/old/cu/cu.c line 192, 296, 690-698(3)
- in /usr/src/sys/pdp/cons.c line 65
- in /usr/src/sys/pdpuba/dh.c line 40
- in /usr/src/sys/pdpuba/dhu.c line 49
- in /usr/src/sys/pdpuba/dhv.c line 64
- in /usr/src/sys/pdpuba/dz.c line 74
- in /usr/src/sys/sys/tty.c line 866, 1017, 1488, 1636
- in /usr/src/ucb/ex/ex_put.c line 856-860(2), 894, 907
- in /usr/src/ucb/lock/lock.c line 114
- in /usr/src/ucb/more/more.c line 1533, 1723, 1734
- in /usr/src/ucb/rlogin.c line 184
- in /usr/src/ucb/script.c line 176
- in /usr/src/ucb/telnet.c line 619-621(2), 647-649(2)
- in /usr/src/ucb/tn3270/tn3270.c line 441-443(2)
- in /usr/src/ucb/tset/tset.c line 436, 740-744(2)
- in /usr/src/ucb/window/wwinit.c line 42
- in /usr/src/usr.bin/roff/common_source/n2.c line 281
- in /usr/src/usr.bin/roff/common_source/n5.c line 604, 632
- in /usr/src/usr.bin/uucp/aculib/va820.c line 66
- in /usr/src/usr.bin/uucp/cico.c line 237-240(2)
- in /usr/src/usr.lib/lib2648/ttyinit.c line 37
- in /usr/src/usr.lib/libcurses/curses.h line 151-152(2)

EVENP defined in line 144; used 32 times

- in /usr/src/bin/stty/stty.c line 64-65(2), 412
- in /usr/src/libexec/getty/subr.c line 150
- in /usr/src/local/zmodem/rbsb.c line 263
- in /usr/src/old/cu/cu.c line 189
- in /usr/src/sys/pdp/cons.c line 65
- in /usr/src/sys/pdpuba/dh.c line 40, 270-271(2), 422
- in /usr/src/sys/pdpuba/dhu.c line 49, 303-304(3), 460
- in /usr/src/sys/pdpuba/dhv.c line 64, 315-316(2), 480-482(2)
- in /usr/src/sys/pdpuba/dz.c line 74-77(2), 250-251(3), 379
- in /usr/src/ucb/tset/tset.c line 733-739(4)
- in /usr/src/usr.lib/libplot/aed/open.c line 58

FIOASYNC defined in line 233; used 4 times

- in /usr/src/sys/sys/kern_descrip.c line 165
- in /usr/src/sys/sys/sys_inode.c line 346
- in /usr/src/ucb/tn3270/tn3270.c line 467, 488

FIOCLEX defined in line 227; used 40 times

- in /usr/src/bin/csh/sh.c line 208, 303, 424, 825, 900-903(4)
- in /usr/src/bin/sh/main.c line 188
- in /usr/src/bin/tcsh/sh.c line 604-605(2), 749-750(2), 984-985(2), 1638-1642(5)
- in /usr/src/bin/tcsh/sh.exec.c line 173, 415
- in /usr/src/bin/tcsh/sh.func.c line 1649, 1666, 1705, 1715
- in /usr/src/bin/tcsh/sh.h line 186, 303
- in /usr/src/bin/tcsh/sh.misc.c line 257
- in /usr/src/bin/tcsh/sh.sem.c line 46, 255, 299, 355, 528, 669, 724, 739
- in /usr/src/sys/sys/sys_generic.c line 201
- in /usr/src/usr.bin/uucp/logent.c line 231
- in /usr/src/usr.sbin/sendmail.MX/src/deliver.c line 926

FIOGETOWN defined in line 235; never used
FIONBIO defined in line 232; used 27 times

- in /usr/src/bin/csh/sh.lex.c line 1243
- in /usr/src/bin/tcsh/ed.inputl.c line 454, 501-502(2)
- in /usr/src/bin/tcsh/sh.lex.c line 1481, 1497-1500(3)
- in /usr/src/libexec/rexecd/rexecd.c line 153
- in /usr/src/libexec/rlogind/rlogind.c line 310-311(2)
- in /usr/src/libexec/rshd/rshd.c line 333
- in /usr/src/libexec/telnetd/telnetd.c line 387-388(2)
- in /usr/src/libexec/tftpd/tftpd.c line 81
- in /usr/src/new/kermit5.188/ckcnet.c line 693-698(2)
- in /usr/src/sys/sys/kern_descrip.c line 165
- in /usr/src/sys/sys/sys_inode.c line 346
- in /usr/src/ucb/rsh.c line 167-168(2)
- in /usr/src/ucb/telnet.c line 678-679(2), 753
- in /usr/src/ucb/tn3270/tn3270.c line 465-466(2), 487

FIONCLEX defined in line 228; used 4 times

- in /usr/src/bin/tcsh/sh.sem.c line 678, 726, 741
- in /usr/src/sys/sys/sys_generic.c line 205

FIONREAD defined in line 231; used 37 times

- in /usr/src/bin/tcsh/ed.init.c line 1010-1011(2)
- in /usr/src/bin/tcsh/ed.inputl.c line 88-92(2)
- in /usr/src/games/rogue/machdep.c line 94
- in /usr/src/games/warp/term.c line 125, 635
- in /usr/src/games/warp/warp.h line 165
- in /usr/src/local/zmodem/rbsb.c line 101, 110
- in /usr/src/new/PORT/B/src/bed/unix.c line 412-416(2)
- in /usr/src/new/crash/symbol.c line 88
- in /usr/src/new/jove/iproc-pipes.c line 92
- in /usr/src/new/jove/jove.c line 327-331(2)
- in /usr/src/new/jove/portsrv.c line 52, 62
- in /usr/src/new/kermit5.188/ckcnet.c line 670
- in /usr/src/new/kermit5.188/ckutio.c line 513-517(2), 3335-3336(2), 3540, 3568, 4233-4234(2), 5495, 5502
- in /usr/src/new/notes/src/miscio.c line 478-480(2)
- in /usr/src/new/rn/common.h line 99
- in /usr/src/new/rn/term.c line 126, 590
- in /usr/src/sys/sys/sys_inode.c line 339
- in /usr/src/ucb/talk/io.c line 77
- in /usr/src/ucb/tftp/tftpsubs.c line 241

FIOSETOWN defined in line 234; never used
FLUSHO defined in line 161; used 23 times

- in line 181
- in /usr/src/bin/tcsh/ed.init.c line 99, 300, 454, 660-664(2)
- in /usr/src/new/kermit5.188/ckutio.c line 404
- in /usr/src/sys/sys/tty.c line 420-422(2), 872-873(2), 879, 1035, 1055, 1081, 1106, 1365, 1412, 1440, 1490, 1528, 1544, 1635

IOCPARM_MASK defined in line 89; used 4 times

- in line 103-106(3)
- in /usr/src/sys/sys/sys_generic.c line 187

IOC_IN defined in line 92; used 3 times

- in line 93, 104
- in /usr/src/sys/sys/sys_generic.c line 220

IOC_INOUT defined in line 93; used 2 times

- in line 106
- in /usr/src/sys/sys/sys_generic.c line 215

IOC_OUT defined in line 91; used 4 times

- in line 93, 103
- in /usr/src/sys/sys/sys_generic.c line 232, 264

IOC_VOID defined in line 90; used 3 times

- in line 102
- in /usr/src/sys/sys/sys_generic.c line 215, 238

LCRTBS defined in line 175; used 14 times

- in /usr/src/bin/stty/stty.c line 87-89(3), 238, 247, 264, 442(2), 453
- in /usr/src/bin/tcsh/ed.init.c line 396, 567, 876
- in /usr/src/ucb/tset/tset.c line 752, 760

LCRTERA defined in line 177; used 15 times

- in /usr/src/bin/stty/stty.c line 89-92(3), 240, 249, 266, 443-444(2), 454
- in /usr/src/bin/tcsh/ed.init.c line 396, 567, 876
- in /usr/src/ucb/more/more.c line 1438
- in /usr/src/ucb/tset/tset.c line 752, 762

LCRTKIL defined in line 184; used 15 times

- in /usr/src/bin/stty/stty.c line 89-94(3), 240, 249, 266, 443-444(2), 455
- in /usr/src/bin/tcsh/ed.init.c line 396, 567, 876
- in /usr/src/ucb/more/more.c line 1439
- in /usr/src/ucb/tset/tset.c line 752, 762

LCTLECH defined in line 186; used 15 times

- in /usr/src/bin/stty/stty.c line 107-108(2), 238, 247, 264, 442(2), 456
- in /usr/src/games/boggle/boggle.c line 55, 129, 575
- in /usr/src/new/OLD/apl/src/am.c line 48
- in /usr/src/new/PORT/apl/src/am.c line 48
- in /usr/src/new/notes/src/miscio.c line 84
- in /usr/src/ucb/tset/tset.c line 749

LDECCTQ defined in line 188; used 6 times

- in /usr/src/bin/stty/stty.c line 111-112(2), 264, 476
- in /usr/src/local/zmodem/rbsb.c line 27
- in /usr/src/usr.bin/tip/tip.c line 482

LFLUSHO defined in line 181; used 8 times

- in /usr/src/bin/csh/sh.print.c line 84-85(2)
- in /usr/src/bin/stty/stty.c line 103-104(2), 465
- in /usr/src/bin/tcsh/ed.init.c line 875
- in /usr/src/bin/tcsh/sh.print.c line 217-218(2)

LITOUT defined in line 159; used 10 times

- in line 179
- in /usr/src/sys/pdp/cons.c line 164
- in /usr/src/sys/pdpuba/dh.c line 418
- in /usr/src/sys/pdpuba/dhu.c line 456
- in /usr/src/sys/pdpuba/dhv.c line 476
- in /usr/src/sys/pdpuba/dz.c line 375, 433
- in /usr/src/sys/sys/tty.c line 1054, 1394
- in /usr/src/sys/sys/tty_tb.c line 95

LLITOUT defined in line 179; used 15 times

- in /usr/src/bin/stty/stty.c line 97-98(2), 467
- in /usr/src/bin/tcsh/ed.init.c line 233, 568, 828
- in /usr/src/local/zmodem/rbsb.c line 25-27(2), 252, 267, 279, 304
- in /usr/src/ucb/rlogin.c line 576
- in /usr/src/ucb/tset/tset.c line 767
- in /usr/src/ucb/window/wwinit.c line 55

LMDMBUF defined in line 178; used 4 times

- in /usr/src/bin/stty/stty.c line 95-96(2), 466
- in /usr/src/ucb/tset/tset.c line 767

LNOFLSH defined in line 189; used 5 times

- in /usr/src/bin/stty/stty.c line 113-114(2), 477
- in /usr/src/ucb/telnet.c line 2327-2329(2)

LNOHANG defined in line 182; used 4 times

- in /usr/src/bin/stty/stty.c line 105-106(2), 469
- in /usr/src/new/kermit5.188/ckutio.c line 5860

LPASS8 defined in line 185; used 18 times

- in /usr/src/bin/stty/stty.c line 99-100(2), 468
- in /usr/src/bin/tcsh/ed.init.c line 199, 233, 568, 828
- in /usr/src/new/jove/jove.c line 570-574(2), 608, 659
- in /usr/src/new/kermit5.188/ckutio.c line 2077-2078(2), 2131, 2688, 2741, 2747
- in /usr/src/ucb/tset/tset.c line 767

LPENDIN defined in line 187; used 5 times

- in /usr/src/bin/csh/sh.file.c line 254
- in /usr/src/bin/stty/stty.c line 109-110(2), 475
- in /usr/src/bin/tcsh/sh.file.c line 368

LPRTERA defined in line 176; used 14 times

- in /usr/src/bin/stty/stty.c line 87-93(5), 237, 246, 263, 457
- in /usr/src/bin/tcsh/ed.init.c line 395, 566, 875
- in /usr/src/ucb/tset/tset.c line 753, 759

LRTSCTS defined in line 183; used 3 times

- in /usr/src/bin/stty/stty.c line 85-86(2), 426

LTOSTOP defined in line 180; used 3 times

- in /usr/src/bin/stty/stty.c line 101-102(2), 459

MDMBUF defined in line 158; used 4 times

- in line 178
- in /usr/src/sys/pdpuba/dhu.c line 279
- in /usr/src/sys/pdpuba/dhv.c line 288
- in /usr/src/sys/sys/tty.c line 714

NETLDISC defined in line 222; used 5 times

- in /usr/src/bin/stty/stty.c line 394
- in /usr/src/sys/pdpuba/dh.c line 294
- in /usr/src/sys/pdpuba/dhu.c line 331
- in /usr/src/sys/pdpuba/dhv.c line 344
- in /usr/src/sys/pdpuba/dz.c line 254

NOFLSH defined in line 169; used 9 times

- in line 189
- in /usr/src/bin/tcsh/ed.init.c line 300, 453, 660-663(2)
- in /usr/src/new/kermit5.188/ckutio.c line 406, 2918
- in /usr/src/sys/sys/tty.c line 884, 912

NOHANG defined in line 162; used 2 times

- in line 182
- in /usr/src/sys/sys/tty.c line 731

NTTYDISC defined in line 223; used 33 times

- in /usr/src/bin/csh/sh.c line 289-293(2), 369
- in /usr/src/bin/csh/sh.func.c line 1109-1111(2)
- in /usr/src/bin/login/login.c line 391
- in /usr/src/bin/stty/stty.c line 230, 236, 262, 396, 441
- in /usr/src/bin/tcsh/ed.init.c line 304, 458
- in /usr/src/bin/tcsh/tc.disc.c line 66, 84-85(2), 153-156(3), 191
- in /usr/src/sys/pdpuba/dhv.c line 494
- in /usr/src/sys/sys/tty.c line 332, 665, 864, 926, 964, 995, 1237
- in /usr/src/ucb/ex/ex_tty.c line 110
- in /usr/src/ucb/tset/tset.c line 417, 459, 747
- in /usr/src/usr.sbin/lpr/printjob.c line 1248

ODDP defined in line 143; used 27 times

- in /usr/src/bin/stty/stty.c line 66-67(2), 413
- in /usr/src/libexec/getty/subr.c line 148
- in /usr/src/local/zmodem/rbsb.c line 263
- in /usr/src/old/cu/cu.c line 189
- in /usr/src/sys/pdpuba/dh.c line 40, 270-271(2)
- in /usr/src/sys/pdpuba/dhu.c line 49, 303-304(3)
- in /usr/src/sys/pdpuba/dhv.c line 64, 315-316(2), 482
- in /usr/src/sys/pdpuba/dz.c line 74-77(2), 250-251(3)
- in /usr/src/ucb/tset/tset.c line 733-739(4)
- in /usr/src/usr.lib/libplot/aed/open.c line 58

OTTYDISC defined in line 221; used 6 times

- in /usr/src/libexec/getty/main.c line 167
- in /usr/src/new/OLD/apl/src/am.c line 46
- in /usr/src/new/PORT/apl/src/am.c line 46
- in /usr/src/new/kermit5.188/ckutio.c line 1457
- in /usr/src/sys/pdpuba/dhv.c line 494
- in /usr/src/usr.bin/tip/tip.c line 33

PASS8 defined in line 165; used 8 times

- in line 185
- in /usr/src/new/jove/jove.c line 70
- in /usr/src/sys/pdpuba/dh.c line 418
- in /usr/src/sys/pdpuba/dhu.c line 456
- in /usr/src/sys/pdpuba/dhv.c line 476
- in /usr/src/sys/pdpuba/dz.c line 375
- in /usr/src/sys/sys/tty.c line 833, 1253

PENDIN defined in line 167; used 9 times

- in line 187
- in /usr/src/bin/tcsh/sh.file.c line 365
- in /usr/src/new/kermit5.188/ckutio.c line 405
- in /usr/src/sys/sys/tty.c line 461-462(2), 581, 774, 801, 1150

PRTERA defined in line 155; used 3 times

- in line 176
- in /usr/src/libexec/getty/subr.c line 175
- in /usr/src/sys/sys/tty.c line 1561

RAW defined in line 142; used 97 times

- in /usr/include/curses.h line 145-146(2)
- in /usr/src/bin/csh/sh.file.c line 59-60(2)
- in /usr/src/bin/csh/sh.lex.c line 1135
- in /usr/src/bin/stty/stty.c line 68-70(3), 415-416(2)
- in /usr/src/bin/tcsh/ed.init.c line 388-392(2), 526-530(2), 834, 848, 859-863(2), 1067
- in /usr/src/bin/tcsh/sh.file.c line 131-132(2)
- in /usr/src/bin/tcsh/sh.lex.c line 1357
- in /usr/src/games/backgammon/main.c line 88
- in /usr/src/games/backgammon/teach.c line 56
- in /usr/src/include/curses.h line 145-146(2)
- in /usr/src/libexec/comsat/comsat.c line 182
- in /usr/src/libexec/getty/subr.c line 158
- in /usr/src/libexec/telnetd/telnetd.c line 825, 883, 914, 1030, 1050
- in /usr/src/local/zmodem/rbsb.c line 284
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 648
- in /usr/src/new/jove/jove.c line 603-605(2), 611
- in /usr/src/new/kermit5.188/ckutio.c line 2722-2726(2), 2817, 2856, 3025, 5358
- in /usr/src/old/cu/cu.c line 191, 689-697(3)
- in /usr/src/sbin/slattach/slattach.c line 49
- in /usr/src/sys/pdp/cons.c line 164
- in /usr/src/sys/pdpuba/dh.c line 285, 418
- in /usr/src/sys/pdpuba/dhu.c line 321, 456
- in /usr/src/sys/pdpuba/dhv.c line 335, 476, 493
- in /usr/src/sys/pdpuba/dz.c line 237, 375, 433
- in /usr/src/sys/sys/tty.c line 226, 449(2), 467, 584, 814, 1054, 1173, 1394, 1640
- in /usr/src/sys/sys/tty_pty.c line 367, 435, 551
- in /usr/src/ucb/ex/ex_put.c line 898, 1027, 1037
- in /usr/src/ucb/ex/exrecover.c line 192
- in /usr/src/ucb/more/more.c line 929, 1136
- in /usr/src/ucb/rlogin.c line 457, 465, 559, 569
- in /usr/src/ucb/script.c line 175
- in /usr/src/ucb/tset/tset.c line 435, 733
- in /usr/src/usr.bin/tip/tip.c line 485
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 97
- in /usr/src/usr.bin/uucp/aculib/va820.c line 65
- in /usr/src/usr.bin/uucp/cico.c line 241
- in /usr/src/usr.bin/uucp/conn.c line 547, 1128
- in /usr/src/usr.lib/libcurses/curses.h line 145-146(2)
- in /usr/src/usr.lib/libplot/aed/open.c line 58
- in /usr/src/usr.lib/libplot/hp2648/open.c line 31-33(2)

RTSCTS defined in line 163; used 16 times

- in line 183
- in /usr/src/libexec/getty/subr.c line 152
- in /usr/src/sys/pdpuba/dh.c line 164-166(2), 732
- in /usr/src/sys/pdpuba/dhu.c line 152-154(2), 282, 564
- in /usr/src/sys/pdpuba/dhv.c line 166-168(2), 291, 607
- in /usr/src/sys/sys/tty.c line 244, 264, 811

SIOCADDRT defined in line 246; used 13 times

- in /usr/src/sbin/route/route.c line 398
- in /usr/src/sbin/routed/startup.c line 262
- in /usr/src/sbin/routed/tables.c line 157, 203
- in /usr/src/sys/net/route.c line 159, 174, 199
- in /usr/src/sys/netinet/in.c line 300, 398-406(3)
- in /usr/src/sys/netns/ns.c line 256-259(2)

SIOCATMARK defined in line 242; used 3 times

- in /usr/src/libexec/telnetd/telnetd.c line 529
- in /usr/src/ucb/rlogin.c line 475
- in /usr/src/ucb/telnet.c line 857

SIOCDARP defined in line 265; used 1 times

- in /usr/src/usr.sbin/arp/arp.c line 236

SIOCDELRT defined in line 247; used 13 times

- in /usr/src/sbin/route/route.c line 177, 398
- in /usr/src/sbin/routed/tables.c line 205, 219
- in /usr/src/sys/net/route.c line 199
- in /usr/src/sys/netinet/in.c line 298, 362-364(2), 370
- in /usr/src/sys/netinet/in_pcb.c line 341
- in /usr/src/sys/netns/ns.c line 145, 207-210(2)

SIOCGARP defined in line 264; used 1 times

- in /usr/src/usr.sbin/arp/arp.c line 185

SIOCGHIWAT defined in line 239; never used
SIOCGIFADDR defined in line 250; used 5 times

- in /usr/src/new/nntp/server/subnet.c line 132
- in /usr/src/sbin/ifconfig/ifconfig.c line 316, 375
- in /usr/src/usr.sbin/named/named/ns_main.c line 339
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 208

SIOCGIFBRDADDR defined in line 255; used 7 times

- in /usr/src/games/hunt/hunt.c line 263
- in /usr/src/sbin/ifconfig/ifconfig.c line 347
- in /usr/src/sbin/routed/startup.c line 83
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 223-225(2)
- in /usr/src/usr.sbin/rwhod/rwhod.c line 405
- in /usr/src/usr.sbin/timed/timed.c line 273

SIOCGIFCONF defined in line 257; used 8 times

- in /usr/src/games/hunt/hunt.c line 257
- in /usr/src/new/nntp/server/subnet.c line 106
- in /usr/src/sbin/routed/startup.c line 45
- in /usr/src/usr.sbin/named/named/ns_main.c line 321
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 104, 184
- in /usr/src/usr.sbin/rwhod/rwhod.c line 353
- in /usr/src/usr.sbin/timed/timed.c line 237

SIOCGIFDSTADDR defined in line 252; used 6 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 335, 387
- in /usr/src/sbin/routed/startup.c line 76
- in /usr/src/usr.sbin/named/named/ns_main.c line 414
- in /usr/src/usr.sbin/rwhod/rwhod.c line 395
- in /usr/src/usr.sbin/timed/timed.c line 280

SIOCGIFFLAGS defined in line 254; used 9 times

- in /usr/src/new/nntp/server/subnet.c line 128
- in /usr/src/sbin/ifconfig/ifconfig.c line 140, 257
- in /usr/src/sbin/routed/startup.c line 56
- in /usr/src/usr.sbin/named/named/ns_main.c line 333, 392
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 197
- in /usr/src/usr.sbin/rwhod/rwhod.c line 383
- in /usr/src/usr.sbin/timed/timed.c line 251

SIOCGIFMETRIC defined in line 260; used 2 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 146
- in /usr/src/sbin/routed/startup.c line 89

SIOCGIFNETMASK defined in line 258; used 8 times

- in /usr/src/new/nntp/server/subnet.c line 138
- in /usr/src/sbin/ifconfig/ifconfig.c line 327
- in /usr/src/sbin/routed/startup.c line 93
- in /usr/src/usr.sbin/named/named/ns_main.c line 381-382(2)
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 241-242(2)
- in /usr/src/usr.sbin/timed/timed.c line 265

SIOCGLOWAT defined in line 241; never used
SIOCGPGRP defined in line 244; never used
SIOCSARP defined in line 263; used 2 times

- in /usr/src/sys/netinet/if_ether.c line 503
- in /usr/src/usr.sbin/arp/arp.c line 145

SIOCSHIWAT defined in line 238; never used
SIOCSIFADDR defined in line 249; used 5 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 196
- in /usr/src/sys/netinet/in.c line 349
- in /usr/src/sys/netns/ns.c line 230, 239
- in /usr/src/sys/netns/ns_ip.c line 360

SIOCSIFBRDADDR defined in line 256; used 1 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 201

SIOCSIFDSTADDR defined in line 251; used 4 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 249
- in /usr/src/sys/netinet/in.c line 293
- in /usr/src/sys/netns/ns.c line 149
- in /usr/src/sys/netns/ns_ip.c line 357

SIOCSIFFLAGS defined in line 253; used 1 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 270

SIOCSIFMETRIC defined in line 261; used 1 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 279

SIOCSIFNETMASK defined in line 259; used 1 times

- in /usr/src/sbin/ifconfig/ifconfig.c line 180

SIOCSLOWAT defined in line 240; never used
SIOCSPGRP defined in line 243; used 2 times

- in /usr/src/new/kermit5.188/ckcnet.c line 399
- in /usr/src/ucb/tn3270/tn3270.c line 489

SLIPDISC defined in line 225; used 3 times

- in /usr/src/sbin/slattach/slattach.c line 18
- in /usr/src/sys/net/if_sl.c line 127
- in /usr/src/sys/sys/tty_conf.c line 97

TABLDISC defined in line 224; used 1 times

- in /usr/src/sys/sys/tty_tb.c line 82

TANDEM defined in line 137; used 25 times

- in /usr/src/bin/stty/stty.c line 77-78(2), 421-422(2)
- in /usr/src/local/zmodem/rbsb.c line 284
- in /usr/src/new/kermit5.188/ckutio.c line 2721-2731(4), 2737-2739(2), 3016-3022(4), 5358
- in /usr/src/sys/sys/tty.c line 234, 257, 811
- in /usr/src/usr.bin/tip/cmds.c line 741-745(4)
- in /usr/src/usr.bin/tip/tip.c line 487
- in /usr/src/usr.bin/uucp/fio.c line 98

TIOCCBRK defined in line 191; used 6 times

- in /usr/src/local/zmodem/rbsb.c line 323
- in /usr/src/new/kermit5.188/ckutio.c line 4779
- in /usr/src/old/cu/cu.c line 365
- in /usr/src/usr.bin/tip/cmds.c line 759
- in /usr/src/usr.bin/uucp/condevs.c line 441-443(2)

TIOCCDTR defined in line 193; used 6 times

- in /usr/src/bin/tcsh/sh.c line 1672-1674(2)
- in /usr/src/new/kermit5.188/ckutio.c line 1742
- in /usr/src/usr.bin/uucp/acucntrl.c line 249
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 176
- in /usr/src/usr.bin/uucp/cico.c line 684

TIOCEXCL defined in line 132; used 9 times

- in /usr/src/local/zmodem/rbsb.c line 249, 276
- in /usr/src/new/kermit5.188/ckutio.c line 512
- in /usr/src/old/cu/cu.c line 195
- in /usr/src/usr.bin/tip/hunt.c line 59
- in /usr/src/usr.bin/uucp/conn.c line 555, 1131
- in /usr/src/usr.sbin/lpr/printjob.c line 1223
- in /usr/src/usr.sbin/ntp/read_psti.c line 98

TIOCFLUSH defined in line 134; used 28 times

- in /usr/src/bin/stty/stty.c line 290
- in /usr/src/games/hunt/playit.c line 129
- in /usr/src/games/mille/misc.c line 217-220(2)
- in /usr/src/games/robots/flush_in.c line 19-21(3)
- in /usr/src/libexec/getty/main.c line 173
- in /usr/src/libexec/getty/subr.c line 358, 369
- in /usr/src/local/zmodem/rz.c line 691
- in /usr/src/new/kermit5.188/ckutio.c line 3642, 3653-3659(3), 4773
- in /usr/src/new/notes/src/cursor.c line 92
- in /usr/src/ucb/rlogin.c line 473
- in /usr/src/ucb/telnet.c line 470
- in /usr/src/ucb/tn3270/tn3270.c line 1182
- in /usr/src/usr.bin/uucp/aculib/df2.c line 27, 74-75(2)
- in /usr/src/usr.bin/uucp/aculib/dn.c line 28, 74-75(2)
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 103
- in /usr/src/usr.sbin/ntp/read_psti.c line 173

TIOCGETC defined in line 136; used 38 times

- in /usr/src/bin/csh/sh.file.c line 50
- in /usr/src/bin/stty/stty.c line 204
- in /usr/src/bin/tcsh/ed.init.c line 267, 811
- in /usr/src/bin/tcsh/sh.file.c line 123
- in /usr/src/games/rogue/machdep.c line 144
- in /usr/src/libexec/telnetd/telnetd.c line 1034, 1054
- in /usr/src/local/zmodem/rbsb.c line 251, 278
- in /usr/src/new/PORT/B/src/bed/unix.c line 305-306(2)
- in /usr/src/new/jove/jove.c line 66, 543-545(2)
- in /usr/src/new/kermit5.188/ckutio.c line 731, 1403-1410(3), 2149, 2762, 2783, 2824
- in /usr/src/ucb/ex/ex_put.c line 900, 959, 1093-1094(2), 1129
- in /usr/src/ucb/rlogin.c line 188
- in /usr/src/ucb/script.c line 227
- in /usr/src/ucb/telnet.c line 1955, 2325
- in /usr/src/ucb/tn3270/tn3270.c line 176, 328
- in /usr/src/ucb/tset/tset.c line 397
- in /usr/src/ucb/window/wwtty.c line 19
- in /usr/src/usr.bin/tip/tip.c line 171
- in /usr/src/usr.lib/lib2648/ttyinit.c line 32

TIOCGETD defined in line 113; used 17 times

- in /usr/src/bin/csh/sh.c line 287
- in /usr/src/bin/csh/sh.func.c line 1108
- in /usr/src/bin/stty/stty.c line 203
- in /usr/src/bin/tcsh/tc.disc.c line 66, 153-154(2)
- in /usr/src/new/OLD/apl/src/am.c line 81
- in /usr/src/new/PORT/apl/src/am.c line 81
- in /usr/src/new/jove/iproc-ptys.c line 299-300(2)
- in /usr/src/new/kermit5.188/ckutio.c line 1455
- in /usr/src/sys/net/if_sl.c line 185
- in /usr/src/ucb/ex/ex_tty.c line 109
- in /usr/src/ucb/script.c line 228
- in /usr/src/ucb/tset/tset.c line 389
- in /usr/src/ucb/window/wwtty.c line 25
- in /usr/src/usr.bin/tip/tip.c line 173

TIOCGETP defined in line 129; used 64 times

- in /usr/src/bin/csh/sh.file.c line 58, 79, 100
- in /usr/src/bin/csh/sh.lex.c line 1134
- in /usr/src/bin/login/login.c line 161
- in /usr/src/bin/stty/stty.c line 202
- in /usr/src/bin/tcsh/ed.init.c line 265, 619
- in /usr/src/bin/tcsh/sh.file.c line 130, 167, 207
- in /usr/src/bin/tcsh/sh.lex.c line 1356
- in /usr/src/games/atc/main.c line 115
- in /usr/src/games/rogue/machdep.c line 592
- in /usr/src/lib/libc/compat-4.1/gtty.c line 21
- in /usr/src/lib/libc/gen/getpass.c line 27
- in /usr/src/lib/libc/gen/isatty.c line 15
- in /usr/src/libexec/comsat/comsat.c line 181
- in /usr/src/libexec/rlogind/rlogind.c line 583
- in /usr/src/libexec/telnetd/telnetd.c line 282-285(2), 714, 1012, 1029, 1049
- in /usr/src/local/less/screen.c line 126
- in /usr/src/local/qterm/qterm.c line 454
- in /usr/src/local/zmodem/rbsb.c line 250, 277
- in /usr/src/new/kermit5.188/ckutio.c line 4187
- in /usr/src/new/notes/src/miscio.c line 78
- in /usr/src/old/cu/cu.c line 295, 685
- in /usr/src/ucb/Mail/main.c line 276
- in /usr/src/ucb/Mail/tty.c line 79
- in /usr/src/ucb/lock/lock.c line 96, 167
- in /usr/src/ucb/rlogin.c line 131, 183, 455, 464, 554
- in /usr/src/ucb/script.c line 226
- in /usr/src/ucb/talk/init_disp.c line 72
- in /usr/src/ucb/telnet.c line 1954, 2324
- in /usr/src/ucb/tn3270/datastream.c line 88
- in /usr/src/ucb/tn3270/tn3270.c line 175, 327
- in /usr/src/ucb/window/wwtty.c line 17
- in /usr/src/usr.bin/tip/cmds.c line 241, 272, 739
- in /usr/src/usr.bin/tip/tip.c line 170
- in /usr/src/usr.bin/uucp/aculib/va820.c line 63
- in /usr/src/usr.bin/uucp/cico.c line 239, 688
- in /usr/src/usr.bin/uucp/condevs.c line 451
- in /usr/src/usr.bin/uucp/conn.c line 545, 1127
- in /usr/src/usr.bin/uucp/fio.c line 81
- in /usr/src/usr.lib/lib2648/ttyinit.c line 31
- in /usr/src/usr.sbin/lpr/lpq.c line 189
- in /usr/src/usr.sbin/lpr/printjob.c line 1227

TIOCGLTC defined in line 197; used 32 times

- in /usr/src/bin/stty/stty.c line 206
- in /usr/src/bin/tcsh/ed.init.c line 269, 354, 777, 882
- in /usr/src/bin/tcsh/tc.disc.c line 111
- in /usr/src/games/hack/hack.ioctl.c line 21
- in /usr/src/games/rogue/machdep.c line 145
- in /usr/src/games/snake/move.c line 622-623(2)
- in /usr/src/libexec/telnetd/telnetd.c line 693
- in /usr/src/new/PORT/B/src/bed/unix.c line 328
- in /usr/src/new/jove/jove.c line 535
- in /usr/src/new/kermit5.188/ckutio.c line 739, 1418-1425(3), 2158, 2796, 2842
- in /usr/src/ucb/ex/ex_put.c line 1097-1098(2)
- in /usr/src/ucb/rlogin.c line 191
- in /usr/src/ucb/script.c line 229
- in /usr/src/ucb/talk/init_disp.c line 73
- in /usr/src/ucb/telnet.c line 1956, 2326
- in /usr/src/ucb/tn3270/tn3270.c line 177, 329
- in /usr/src/ucb/tset/tset.c line 419
- in /usr/src/ucb/window/wwtty.c line 21
- in /usr/src/usr.bin/tip/tip.c line 172

TIOCGPGRP defined in line 194; used 9 times

- in /usr/src/bin/csh/sh.c line 278
- in /usr/src/bin/csh/sh.func.c line 1098
- in /usr/src/bin/csh/sh.lex.c line 1142
- in /usr/src/bin/tcsh/tc.os.c line 643
- in /usr/src/new/kermit5.188/ckutio.c line 3761, 3815
- in /usr/src/sys/sys/kern_descrip.c line 181
- in /usr/src/ucb/compress/compress.c line 441
- in /usr/src/ucb/more/more.c line 1444

TIOCGSIZE defined in line 78; used 4 times

- in /usr/src/bin/tcsh/ed.screen.c line 1322-1326(2)
- in /usr/src/ucb/rlogin.c line 136, 357

TIOCGWINSZ defined in line 216; used 35 times

- in line 78
- in /usr/src/bin/csh/sh.file.c line 188
- in /usr/src/bin/ls/ls.c line 86
- in /usr/src/bin/ps.c line 136-138(3)
- in /usr/src/bin/stty/stty.c line 207
- in /usr/src/bin/tcsh/ed.screen.c line 1307-1312(2)
- in /usr/src/bin/tcsh/sh.file.c line 295
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 463, 546-547(2)
- in /usr/src/new/jove/iproc-ptys.c line 270, 305-306(2), 355
- in /usr/src/new/jove/jove.c line 473-476(2), 1060, 1069, 1276
- in /usr/src/new/rn/term.c line 194-196(2)
- in /usr/src/ucb/Mail/main.c line 274
- in /usr/src/ucb/ex/ex_subr.c line 923
- in /usr/src/ucb/ex/ex_tty.c line 152
- in /usr/src/ucb/more/more.c line 503, 1456
- in /usr/src/ucb/msgs/msgs.c line 400
- in /usr/src/ucb/rlogin.c line 138, 369
- in /usr/src/ucb/script.c line 231
- in /usr/src/ucb/tset/tset.c line 779
- in /usr/src/ucb/window/ttinit.c line 70

TIOCHPCL defined in line 115; used 13 times

- in /usr/src/bin/login/login.c line 289
- in /usr/src/bin/stty/stty.c line 294
- in /usr/src/libexec/getty/main.c line 188
- in /usr/src/new/kermit5.188/ckutio.c line 1622, 1761, 5869, 5895
- in /usr/src/old/cu/cu.c line 196, 299
- in /usr/src/usr.bin/tip/hunt.c line 60
- in /usr/src/usr.bin/uucp/acucntrl.c line 258
- in /usr/src/usr.bin/uucp/cico.c line 682
- in /usr/src/usr.bin/uucp/conn.c line 553

TIOCLBIC defined in line 172; used 14 times

- in /usr/src/bin/csh/sh.print.c line 86
- in /usr/src/bin/tcsh/sh.print.c line 219
- in /usr/src/games/boggle/boggle.c line 576
- in /usr/src/new/OLD/apl/src/am.c line 70-71(2)
- in /usr/src/new/PORT/apl/src/am.c line 70-71(2)
- in /usr/src/new/kermit5.188/ckutio.c line 2627, 5893
- in /usr/src/sys/pdpuba/dh.c line 325
- in /usr/src/sys/pdpuba/dhu.c line 362
- in /usr/src/sys/pdpuba/dhv.c line 381
- in /usr/src/sys/pdpuba/dz.c line 282
- in /usr/src/usr.sbin/lpr/printjob.c line 1256

TIOCLBIS defined in line 171; used 15 times

- in /usr/src/bin/csh/sh.file.c line 256
- in /usr/src/bin/tcsh/sh.file.c line 370
- in /usr/src/games/boggle/boggle.c line 130
- in /usr/src/local/zmodem/rbsb.c line 268
- in /usr/src/new/OLD/apl/src/am.c line 83
- in /usr/src/new/PORT/apl/src/am.c line 83
- in /usr/src/new/kermit5.188/ckutio.c line 2617, 2750, 5898
- in /usr/src/sys/pdpuba/dh.c line 325
- in /usr/src/sys/pdpuba/dhu.c line 362
- in /usr/src/sys/pdpuba/dhv.c line 382
- in /usr/src/sys/pdpuba/dz.c line 281
- in /usr/src/usr.bin/tip/tip.c line 489
- in /usr/src/usr.sbin/lpr/printjob.c line 1262

TIOCLGET defined in line 174; used 31 times

- in /usr/src/bin/csh/sh.print.c line 82-83(2)
- in /usr/src/bin/stty/stty.c line 205
- in /usr/src/bin/tcsh/ed.init.c line 224, 275, 825
- in /usr/src/bin/tcsh/sh.print.c line 215-216(2)
- in /usr/src/games/boggle/boggle.c line 574
- in /usr/src/games/snake/snake.h line 46
- in /usr/src/local/zmodem/rbsb.c line 253, 280
- in /usr/src/new/OLD/apl/src/am.c line 69
- in /usr/src/new/PORT/apl/src/am.c line 69
- in /usr/src/new/jove/iproc-ptys.c line 302-303(2)
- in /usr/src/new/jove/jove.c line 571
- in /usr/src/new/kermit5.188/ckutio.c line 1433-1435(2)
- in /usr/src/new/notes/src/miscio.c line 79
- in /usr/src/ucb/ex/ex.h line 175
- in /usr/src/ucb/ex/ex_put.c line 967, 1072
- in /usr/src/ucb/ex/ex_tty.c line 100
- in /usr/src/ucb/more/more.c line 1434
- in /usr/src/ucb/rlogin.c line 187, 555
- in /usr/src/ucb/script.c line 230
- in /usr/src/ucb/telnet.c line 2328
- in /usr/src/ucb/tset/tset.c line 388
- in /usr/src/ucb/window/wwtty.c line 23

TIOCLSET defined in line 173; used 22 times

- in /usr/src/bin/login/login.c line 158
- in /usr/src/bin/stty/stty.c line 361
- in /usr/src/bin/tcsh/ed.init.c line 910, 957
- in /usr/src/libexec/getty/main.c line 228
- in /usr/src/local/zmodem/rbsb.c line 305
- in /usr/src/new/OLD/apl/src/am.c line 97
- in /usr/src/new/PORT/apl/src/am.c line 97
- in /usr/src/new/jove/iproc-ptys.c line 345-346(2)
- in /usr/src/new/jove/jove.c line 660
- in /usr/src/new/kermit5.188/ckutio.c line 2133, 2142
- in /usr/src/new/notes/src/miscio.c line 154
- in /usr/src/sys/pdpuba/dh.c line 325
- in /usr/src/sys/pdpuba/dhu.c line 362
- in /usr/src/sys/pdpuba/dhv.c line 381
- in /usr/src/sys/pdpuba/dz.c line 282
- in /usr/src/ucb/rlogin.c line 585
- in /usr/src/ucb/script.c line 254
- in /usr/src/ucb/tset/tset.c line 768
- in /usr/src/ucb/window/wwtty.c line 49

TIOCMBIC defined in line 213; used 3 times

- in /usr/src/new/kermit5.188/ckutio.c line 1862, 1874
- in /usr/src/sys/sys/tty.c line 245

TIOCMBIS defined in line 212; used 3 times

- in /usr/src/new/kermit5.188/ckutio.c line 1861, 1877
- in /usr/src/sys/sys/tty.c line 265

TIOCMGET defined in line 214; used 8 times

- in /usr/src/bin/stty/stty.c line 208
- in /usr/src/new/kermit5.188/ckutio.c line 2555, 5930, 5992, 6000-6002(2)
- in /usr/src/usr.bin/uucp/acucntrl.c line 280, 294

TIOCMODG defined in line 116; used 1 times

- in /usr/src/new/kermit5.188/ckutio.c line 5881

TIOCMODS defined in line 117; used 1 times

- in /usr/src/new/kermit5.188/ckutio.c line 5889

TIOCMSET defined in line 211; used 1 times

- in /usr/src/bin/stty/stty.c line 365

TIOCM_CAR defined in line 124; used 10 times

- in line 125
- in /usr/src/new/kermit5.188/ckutio.c line 2556, 5884-5887(2), 6015-6017(2)
- in /usr/src/sys/pdpuba/dh.c line 381
- in /usr/src/sys/pdpuba/dhu.c line 419
- in /usr/src/sys/pdpuba/dhv.c line 439
- in /usr/src/usr.bin/uucp/acucntrl.c line 296

TIOCM_CD defined in line 125; used 3 times

- in /usr/src/bin/stty/stty.c line 119-120(2), 433

TIOCM_CTS defined in line 123; used 8 times

- in /usr/src/bin/stty/stty.c line 125-126(2), 436
- in /usr/src/new/kermit5.188/ckutio.c line 6007-6009(2)
- in /usr/src/sys/pdpuba/dh.c line 382
- in /usr/src/sys/pdpuba/dhu.c line 420
- in /usr/src/sys/pdpuba/dhv.c line 440

TIOCM_DSR defined in line 128; used 7 times

- in /usr/src/bin/stty/stty.c line 121-122(2), 434
- in /usr/src/new/kermit5.188/ckutio.c line 6011-6013(2)
- in /usr/src/sys/pdpuba/dhu.c line 417
- in /usr/src/sys/pdpuba/dhv.c line 437

TIOCM_DTR defined in line 119; used 13 times

- in /usr/src/bin/stty/stty.c line 123-124(2), 435
- in /usr/src/new/kermit5.188/ckutio.c line 1863-1868(2), 6023-6025(2)
- in /usr/src/sys/pdpuba/dh.c line 369, 384
- in /usr/src/sys/pdpuba/dhu.c line 406, 422
- in /usr/src/sys/pdpuba/dhv.c line 426, 442

TIOCM_LE defined in line 118; used 6 times

- in /usr/src/sys/pdpuba/dh.c line 370, 385
- in /usr/src/sys/pdpuba/dhu.c line 407, 423
- in /usr/src/sys/pdpuba/dhv.c line 427, 443

TIOCM_RI defined in line 127; never used
TIOCM_RNG defined in line 126; used 6 times

- in line 127
- in /usr/src/new/kermit5.188/ckutio.c line 6019-6021(2)
- in /usr/src/sys/pdpuba/dh.c line 380
- in /usr/src/sys/pdpuba/dhu.c line 418
- in /usr/src/sys/pdpuba/dhv.c line 438

TIOCM_RTS defined in line 120; used 14 times

- in /usr/src/bin/stty/stty.c line 127-128(2), 437
- in /usr/src/new/kermit5.188/ckutio.c line 1869-1870(2), 6027-6029(2)
- in /usr/src/sys/pdpuba/dh.c line 368, 383
- in /usr/src/sys/pdpuba/dhu.c line 405, 421
- in /usr/src/sys/pdpuba/dhv.c line 425, 441
- in /usr/src/sys/sys/tty.c line 210

TIOCM_SR defined in line 122; never used
TIOCM_ST defined in line 121; never used
TIOCNOTTY defined in line 200; used 31 times

- in /usr/src/games/hunt/driver.c line 196
- in /usr/src/lib/libc/gen/daemon.c line 58
- in /usr/src/libexec/ctimed/ctimed.c line 74
- in /usr/src/libexec/rexecd/rexecd.c line 89
- in /usr/src/libexec/rlogind/rlogind.c line 303
- in /usr/src/libexec/rshd/rshd.c line 143
- in /usr/src/libexec/talkd/announce.c line 85, 165
- in /usr/src/libexec/telnetd/telnetd.c line 268
- in /usr/src/new/jove/iproc-ptys.c line 331-333(2)
- in /usr/src/new/kermit5.188/cku2tm.c line 74
- in /usr/src/new/nntp/server/netaux.c line 67
- in /usr/src/sbin/routed/main.c line 103
- in /usr/src/sys/sys/tty_tty.c line 58
- in /usr/src/ucb/script.c line 155
- in /usr/src/ucb/window/wwenviron.c line 25
- in /usr/src/usr.bin/uucp/cico.c line 180, 186
- in /usr/src/usr.bin/uucp/uucpd.c line 80
- in /usr/src/usr.sbin/cron/compat.c line 45
- in /usr/src/usr.sbin/lpr/lpd.c line 92
- in /usr/src/usr.sbin/named/named/ns_main.c line 232
- in /usr/src/usr.sbin/ntp/ntpd.c line 266
- in /usr/src/usr.sbin/rwhod/rwhod.c line 100
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 1035, 1042
- in /usr/src/usr.sbin/sendmail/src/main.c line 1039, 1046
- in /usr/src/usr.sbin/syslogd/syslogd.c line 357
- in /usr/src/usr.sbin/timed/timed.c line 162

TIOCNXCL defined in line 133; used 7 times

- in /usr/src/bin/login/login.c line 159
- in /usr/src/local/zmodem/rbsb.c line 303
- in /usr/src/usr.bin/uucp/acucntrl.c line 253
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 178
- in /usr/src/usr.bin/uucp/cico.c line 696
- in /usr/src/usr.bin/uucp/conn.c line 271-272(2)

TIOCOUTQ defined in line 198; used 2 times

- in /usr/src/games/warp/play.c line 43, 53

TIOCPKT defined in line 201; used 3 times

- in /usr/src/libexec/rlogind/rlogind.c line 312
- in /usr/src/libexec/telnetd/telnetd.c line 389
- in /usr/src/ucb/window/wwpty.c line 53

TIOCPKT_DATA defined in line 202; used 1 times

- in /usr/src/ucb/window/wwiomux.c line 100

TIOCPKT_DOSTOP defined in line 208; used 4 times

- in /usr/src/libexec/rlogind/rlogind.c line 395
- in /usr/src/sys/sys/tty_pty.c line 556, 562
- in /usr/src/ucb/rlogin.c line 463

TIOCPKT_FLUSHREAD defined in line 203; never used
TIOCPKT_FLUSHWRITE defined in line 204; used 5 times

- in /usr/src/libexec/rlogind/rlogind.c line 395, 401
- in /usr/src/libexec/telnetd/telnetd.c line 568
- in /usr/src/ucb/rlogin.c line 472
- in /usr/src/ucb/window/wwiomux.c line 111

TIOCPKT_NOSTOP defined in line 207; used 4 times

- in /usr/src/libexec/rlogind/rlogind.c line 395
- in /usr/src/sys/sys/tty_pty.c line 555, 563
- in /usr/src/ucb/rlogin.c line 454

TIOCPKT_START defined in line 206; used 2 times

- in /usr/src/sys/sys/tty_pty.c line 172
- in /usr/src/ucb/window/wwiomux.c line 109

TIOCPKT_STOP defined in line 205; used 2 times

- in /usr/src/sys/sys/tty_pty.c line 306
- in /usr/src/ucb/window/wwiomux.c line 107

TIOCREMOTE defined in line 215; never used
TIOCSBRK defined in line 190; used 8 times

- in /usr/src/local/zmodem/rbsb.c line 318-321(2)
- in /usr/src/new/kermit5.188/ckutio.c line 4774
- in /usr/src/old/cu/cu.c line 363
- in /usr/src/usr.bin/tip/cmds.c line 757
- in /usr/src/usr.bin/uucp/condevs.c line 438-439(2), 447

TIOCSDTR defined in line 192; used 6 times

- in /usr/src/bin/tcsh/sh.c line 1676
- in /usr/src/new/kermit5.188/ckutio.c line 1748
- in /usr/src/usr.bin/uucp/acucntrl.c line 322
- in /usr/src/usr.bin/uucp/cico.c line 683-687(3)

TIOCSETC defined in line 135; used 48 times

- in /usr/src/bin/csh/sh.file.c line 52, 65
- in /usr/src/bin/login/login.c line 165
- in /usr/src/bin/stty/stty.c line 359
- in /usr/src/bin/tcsh/ed.init.c line 902, 949
- in /usr/src/bin/tcsh/sh.file.c line 125, 138
- in /usr/src/games/rogue/machdep.c line 171
- in /usr/src/libexec/getty/main.c line 185
- in /usr/src/local/zmodem/rbsb.c line 266, 302
- in /usr/src/new/PORT/B/src/bed/unix.c line 270, 298, 316, 349-350(2)
- in /usr/src/new/jove/iproc-ptys.c line 348-349(2)
- in /usr/src/new/jove/jove.c line 653-654(2)
- in /usr/src/new/kermit5.188/ckutio.c line 2151, 2772, 2834
- in /usr/src/sys/pdpuba/dhv.c line 382
- in /usr/src/ucb/ex/ex_put.c line 1131
- in /usr/src/ucb/ex/ex_vops2.c line 613
- in /usr/src/ucb/rlogin.c line 461, 470, 583
- in /usr/src/ucb/script.c line 252
- in /usr/src/ucb/telnet.c line 676
- in /usr/src/ucb/tn3270/tn3270.c line 463
- in /usr/src/ucb/tset/tset.c line 434, 974
- in /usr/src/ucb/window/wwtty.c line 45
- in /usr/src/usr.bin/tip/cmds.c line 113, 147, 262, 342, 436, 463, 489, 517
- in /usr/src/usr.bin/tip/tip.c line 254, 268
- in /usr/src/usr.lib/lib2648/ttyinit.c line 39, 65

TIOCSETD defined in line 114; used 30 times

- in /usr/src/bin/csh/sh.c line 294, 373
- in /usr/src/bin/csh/sh.func.c line 1112
- in /usr/src/bin/login/login.c line 185, 392
- in /usr/src/bin/stty/stty.c line 231, 241, 254, 267
- in /usr/src/bin/tcsh/tc.disc.c line 158, 191-192(2)
- in /usr/src/libexec/getty/main.c line 186
- in /usr/src/new/OLD/apl/src/am.c line 82, 96
- in /usr/src/new/PORT/apl/src/am.c line 82, 96
- in /usr/src/new/jove/iproc-ptys.c line 342-343(2)
- in /usr/src/new/kermit5.188/ckutio.c line 1458, 2177
- in /usr/src/sbin/slattach/slattach.c line 55
- in /usr/src/sys/pdpuba/dhv.c line 382
- in /usr/src/ucb/script.c line 255
- in /usr/src/ucb/tset/tset.c line 460
- in /usr/src/ucb/window/wwtty.c line 52
- in /usr/src/usr.bin/tip/tip.c line 207, 256, 266
- in /usr/src/usr.sbin/lpr/printjob.c line 1250

TIOCSETN defined in line 131; used 34 times

- in /usr/src/bin/csh/sh.file.c line 82-84(2), 103-107(2)
- in /usr/src/bin/stty/stty.c line 358
- in /usr/src/bin/tcsh/ed.init.c line 900, 947, 1068, 1090
- in /usr/src/bin/tcsh/sh.file.c line 170-172(2), 210-214(2)
- in /usr/src/local/less/screen.c line 148
- in /usr/src/new/PORT/B/src/bed/unix.c line 294, 347
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 104-105(2)
- in /usr/src/new/jove/jove.c line 649
- in /usr/src/new/notes/src/miscio.c line 153
- in /usr/src/sys/pdpuba/dh.c line 324
- in /usr/src/sys/pdpuba/dhu.c line 361
- in /usr/src/sys/pdpuba/dhv.c line 380
- in /usr/src/sys/pdpuba/dz.c line 281
- in /usr/src/ucb/ex/ex_put.c line 1121-1123(2)
- in /usr/src/ucb/more/more.c line 47
- in /usr/src/ucb/rlogin.c line 458, 467, 584
- in /usr/src/ucb/tset/tset.c line 972
- in /usr/src/ucb/window/wwtty.c line 43
- in /usr/src/usr.lib/lib2648/ttyinit.c line 38, 64

TIOCSETP defined in line 130; used 65 times

- in /usr/src/bin/csh/sh.file.c line 61
- in /usr/src/bin/login/login.c line 166
- in /usr/src/bin/tcsh/sh.file.c line 133
- in /usr/src/games/atc/input.c line 308
- in /usr/src/games/atc/main.c line 119
- in /usr/src/games/rogue/machdep.c line 596-599(2)
- in /usr/src/games/warp/term.c line 585
- in /usr/src/lib/libc/compat-4.1/stty.c line 21
- in /usr/src/lib/libc/gen/getpass.c line 30, 39
- in /usr/src/libexec/getty/main.c line 183, 206, 226, 259, 267
- in /usr/src/libexec/rlogind/rlogind.c line 597
- in /usr/src/libexec/telnetd/telnetd.c line 284-287(2), 1015
- in /usr/src/local/zmodem/rbsb.c line 265, 286, 301
- in /usr/src/new/kermit5.188/ckutio.c line 4190, 4196
- in /usr/src/new/rn/term.c line 550
- in /usr/src/old/cu/cu.c line 194, 218, 298, 700
- in /usr/src/sbin/slattach/slattach.c line 51
- in /usr/src/sys/pdpuba/dh.c line 324
- in /usr/src/sys/pdpuba/dhu.c line 361
- in /usr/src/sys/pdpuba/dhv.c line 380
- in /usr/src/sys/pdpuba/dz.c line 281
- in /usr/src/sys/sys/tty.c line 449
- in /usr/src/ucb/lock/lock.c line 115, 131, 187, 194
- in /usr/src/ucb/script.c line 177, 197, 251
- in /usr/src/ucb/telnet.c line 677
- in /usr/src/ucb/tn3270/tn3270.c line 464
- in /usr/src/usr.bin/tip/cmds.c line 242, 273, 747-748(2)
- in /usr/src/usr.bin/tip/tip.c line 253, 267, 488
- in /usr/src/usr.bin/uucp/aculib/rvmacs.c line 99
- in /usr/src/usr.bin/uucp/aculib/va820.c line 67
- in /usr/src/usr.bin/uucp/cico.c line 261, 274, 691-694(2)
- in /usr/src/usr.bin/uucp/condevs.c line 455, 464
- in /usr/src/usr.bin/uucp/conn.c line 549, 1129
- in /usr/src/usr.bin/uucp/fio.c line 82
- in /usr/src/usr.sbin/lpr/printjob.c line 1243
- in /usr/src/usr.sbin/ntp/read_psti.c line 127

TIOCSLTC defined in line 196; used 41 times

- in /usr/src/bin/login/login.c line 164
- in /usr/src/bin/stty/stty.c line 360
- in /usr/src/bin/tcsh/ed.init.c line 787, 904, 943, 951, 964
- in /usr/src/bin/tcsh/tc.disc.c line 120
- in /usr/src/games/hack/hack.ioctl.c line 22, 30
- in /usr/src/games/rogue/machdep.c line 172
- in /usr/src/games/snake/move.c line 493-494(2), 501-502(2)
- in /usr/src/libexec/getty/main.c line 227
- in /usr/src/new/PORT/B/src/bed/unix.c line 274, 320, 331, 352-353(2)
- in /usr/src/new/jove/iproc-ptys.c line 46, 351-352(2)
- in /usr/src/new/jove/jove.c line 62, 534, 656-657(2)
- in /usr/src/new/kermit5.188/ckutio.c line 2160, 2800, 2847
- in /usr/src/ucb/ex/ex_put.c line 1133-1134(2)
- in /usr/src/ucb/rlogin.c line 582
- in /usr/src/ucb/script.c line 253
- in /usr/src/ucb/telnet.c line 675
- in /usr/src/ucb/tn3270/tn3270.c line 462
- in /usr/src/ucb/tset/tset.c line 426
- in /usr/src/ucb/window/wwtty.c line 47
- in /usr/src/usr.bin/tip/tip.c line 255, 269

TIOCSPGRP defined in line 195; used 12 times

- in /usr/src/bin/csh/sh.c line 301, 368
- in /usr/src/bin/csh/sh.err.c line 82
- in /usr/src/bin/csh/sh.func.c line 1105
- in /usr/src/bin/csh/sh.lex.c line 1144
- in /usr/src/bin/csh/sh.proc.c line 218, 904, 1072
- in /usr/src/bin/csh/sh.sem.c line 198
- in /usr/src/new/jove/iproc-ptys.c line 373
- in /usr/src/sys/sys/kern_descrip.c line 204
- in /usr/src/ucb/window/wwenviron.c line 35

TIOCSSIZE defined in line 79; never used
TIOCSTART defined in line 210; used 5 times

- in /usr/src/new/kermit5.188/ckutio.c line 1965-1967(2), 4393-4395(2)
- in /usr/src/ucb/window/win.c line 244

TIOCSTI defined in line 199; used 18 times

- in /usr/src/bin/csh/sh.file.c line 106
- in /usr/src/bin/tcsh/sh.file.c line 197, 213
- in /usr/src/new/PORT/B/src/bed/unix.c line 123-126(2)
- in /usr/src/ucb/Mail/tty.c line 50, 63, 76, 85, 98, 106, 113, 121, 132, 165, 177-180(2), 211

TIOCSTOP defined in line 209; used 1 times

- in /usr/src/ucb/window/win.c line 236

TIOCSWINSZ defined in line 217; used 10 times

- in line 79
- in /usr/src/bin/login/login.c line 375
- in /usr/src/bin/stty/stty.c line 362
- in /usr/src/libexec/rlogind/rlogind.c line 258, 344
- in /usr/src/new/jove/iproc-ptys.c line 360
- in /usr/src/ucb/script.c line 256
- in /usr/src/ucb/tset/tset.c line 784
- in /usr/src/ucb/window/wwopen.c line 76
- in /usr/src/ucb/window/wwsize.c line 154

TIOCUCNTL defined in line 218; never used
TOSTOP defined in line 160; used 3 times

- in line 180
- in /usr/src/new/kermit5.188/ckutio.c line 403
- in /usr/src/sys/sys/tty.c line 1349

UIOCCMD defined in line 219; used 1 times

- in /usr/src/sys/sys/tty_pty.c line 542

XTABS defined in line 148; used 53 times

- in /usr/src/bin/ls/ls.c line 88(2)
- in /usr/src/bin/stty/stty.c line 75-76(2), 423(2)
- in /usr/src/bin/tcsh/ed.init.c line 380(2), 388-393(2), 526-531(2), 841(2), 851-864(4)
- in /usr/src/games/backgammon/main.c line 122-123(2)
- in /usr/src/games/backgammon/teach.c line 67-68(2)
- in /usr/src/games/hack/hack.tty.c line 47-48(2)
- in /usr/src/games/snake/move.c line 618, 630(2)
- in /usr/src/libexec/getty/subr.c line 165
- in /usr/src/libexec/rlogind/rlogind.c line 596
- in /usr/src/libexec/telnetd/telnetd.c line 283
- in /usr/src/local/less/screen.c line 140
- in /usr/src/new/PORT/B/src/bed/unix.c line 290-293(2)
- in /usr/src/new/PORT/B/src/bed/vtrm.c line 647-650(2)
- in /usr/src/new/jove/jove.c line 589
- in /usr/src/new/kermit5.188/ckutio.c line 394
- in /usr/src/sys/pdp/cons.c line 65
- in /usr/src/sys/sys/tty.c line 1077
- in /usr/src/ucb/ex/ex_put.c line 856, 894
- in /usr/src/ucb/ex/ex_tty.c line 31(2)
- in /usr/src/ucb/more/more.c line 1531
- in /usr/src/ucb/rlogin.c line 184, 559, 571
- in /usr/src/ucb/tset/tset.c line 436, 740, 746, 789-791(2)
- in /usr/src/ucb/window/wwinit.c line 37

_IO defined in line 102; used 14 times

- in line 81, 115, 132-133(2), 190-193(4), 200, 209-210(2), 219, 227-228(2)

_IOCTL_ defined in line 13; used 4 times

- in line 12
- in /usr/include/sgtty.h line 3
- in /usr/src/include/sgtty.h line 3
- in /usr/src/sys/h/vcmd.h line 9

_IOR defined in line 103; used 20 times

- in line 113-116(2), 129, 136, 174, 194-198(3), 214-216(2), 231-244(6)
- in /usr/src/new/kermit5.188/ckutio.c line 2572
- in /usr/src/sys/h/tablet.h line 51, 66
- in /usr/src/sys/h/vcmd.h line 21

_IOW defined in line 104; used 39 times

- in line 114-117(2), 130-135(4), 171-173(3), 195-201(4), 211-218(6), 232-265(16)
- in /usr/src/new/kermit5.188/ckutio.c line 2573
- in /usr/src/sys/h/tablet.h line 50, 65
- in /usr/src/sys/h/vcmd.h line 22

_IOWR defined in line 106; used 8 times

- in line 250-264(8)

_SGTTYB_ defined in line 44; used 1 times

- in line 43

#### Usage of this include

ioctl.h used 140 times

- in /usr/include/sgtty.h line 4
- in /usr/src/bin/csh/sh.c line 12
- in /usr/src/bin/csh/sh.err.c line 12
- in /usr/src/bin/csh/sh.func.c line 12
- in /usr/src/bin/csh/sh.print.c line 12
- in /usr/src/bin/csh/sh.proc.c line 16
- in /usr/src/bin/csh/sh.sem.c line 14
- in /usr/src/bin/disklabel/disklabel.c line 50
- in /usr/src/bin/mt.c line 25
- in /usr/src/bin/ps.c line 24
- in /usr/src/bin/rcp.c line 33
- in /usr/src/bin/stty/stty.c line 20
- in /usr/src/bin/tar.c line 24
- in /usr/src/bin/tcsh/sh.h line 183
- in /usr/src/bin/tcsh/sh.lex.c line 1339
- in /usr/src/games/hunt/driver.c line 16
- in /usr/src/games/warp/warp.h line 105
- in /usr/src/include/sgtty.h line 4
- in /usr/src/lib/libc/gen/daemon.c line 39
- in /usr/src/libexec/ctimed/ctimed.c line 13
- in /usr/src/libexec/ftpd/ftpd.c line 31
- in /usr/src/libexec/identd/src/identd.c line 44
- in /usr/src/libexec/rexecd/rexecd.c line 17
- in /usr/src/libexec/rlogind/rlogind.c line 44
- in /usr/src/libexec/rshd/rshd.c line 35
- in /usr/src/libexec/talkd/announce.c line 14
- in /usr/src/libexec/tftpd/tftpd.c line 36
- in /usr/src/local/afio/afio.c line 33
- in /usr/src/local/less/screen.c line 11
- in /usr/src/local/qterm/qterm.c line 207
- in /usr/src/new/OLD/apl/src/am.c line 42
- in /usr/src/new/PORT/apl/src/am.c line 42
- in /usr/src/new/ansi/ansitape.c line 4
- in /usr/src/new/crash/crash.c line 83
- in /usr/src/new/crash/symbol.c line 8
- in /usr/src/new/jove/portsrv.c line 19
- in /usr/src/new/kermit5.188/ckcnet.h line 94
- in /usr/src/new/kermit5.188/cku2tm.c line 13
- in /usr/src/new/kermit5.188/ckutio.c line 408
- in /usr/src/new/nntp/server/netaux.c line 16
- in /usr/src/new/nntp/server/subnet.c line 15
- in /usr/src/new/nntp/xfer/nntpxfer.c line 27
- in /usr/src/new/rn/common.h line 38
- in /usr/src/new/vmsbackup/vmsbackup.c line 80
- in /usr/src/sbin/dump/dumprmt.c line 40
- in /usr/src/sbin/ifconfig/ifconfig.c line 17
- in /usr/src/sbin/newfs/newfs.c line 30
- in /usr/src/sbin/route/route.c line 17
- in /usr/src/sbin/routed/main.c line 21
- in /usr/src/sbin/routed/startup.c line 15
- in /usr/src/sbin/routed/tables.c line 15
- in /usr/src/sys/autoconfig/dhauto.c line 13
- in /usr/src/sys/conf/checksys.c line 17
- in /usr/src/sys/h/tablet.h line 14-16(2)
- in /usr/src/sys/h/vcmd.h line 11-13(2)
- in /usr/src/sys/net/if.c line 23
- in /usr/src/sys/net/if_loop.c line 24
- in /usr/src/sys/net/if_sl.c line 48
- in /usr/src/sys/net/route.c line 21
- in /usr/src/sys/netimp/if_imp.c line 25
- in /usr/src/sys/netinet/if_ether.c line 33
- in /usr/src/sys/netinet/in.c line 16
- in /usr/src/sys/netinet/in_pcb.c line 21
- in /usr/src/sys/netns/ns.c line 18
- in /usr/src/sys/netns/ns_ip.c line 26
- in /usr/src/sys/pdp/conf.c line 13
- in /usr/src/sys/pdp/cons.c line 16
- in /usr/src/sys/pdp/kern_pdp.c line 14
- in /usr/src/sys/pdpif/if_de.c line 25
- in /usr/src/sys/pdpif/if_dmc.c line 25
- in /usr/src/sys/pdpif/if_ec.c line 57
- in /usr/src/sys/pdpif/if_il.c line 38
- in /usr/src/sys/pdpif/if_qe.c line 118
- in /usr/src/sys/pdpif/if_qt.c line 65
- in /usr/src/sys/pdpif/if_vv.c line 53
- in /usr/src/sys/pdpstand/maketape.c line 14
- in /usr/src/sys/pdpuba/dh.c line 22
- in /usr/src/sys/pdpuba/dhu.c line 29
- in /usr/src/sys/pdpuba/dhv.c line 36
- in /usr/src/sys/pdpuba/dr.c line 23
- in /usr/src/sys/pdpuba/dz.c line 21
- in /usr/src/sys/pdpuba/ht.c line 16
- in /usr/src/sys/pdpuba/lp.c line 20
- in /usr/src/sys/pdpuba/ra.c line 140
- in /usr/src/sys/pdpuba/rl.c line 52
- in /usr/src/sys/pdpuba/rx.c line 48
- in /usr/src/sys/pdpuba/tm.c line 20
- in /usr/src/sys/pdpuba/tmscp.c line 257
- in /usr/src/sys/pdpuba/ts.c line 20
- in /usr/src/sys/sys/init_main.c line 17
- in /usr/src/sys/sys/kern_descrip.c line 15
- in /usr/src/sys/sys/kern_sysctl.c line 51
- in /usr/src/sys/sys/subr_log.c line 30
- in /usr/src/sys/sys/subr_prf.c line 15
- in /usr/src/sys/sys/sys_generic.c line 17
- in /usr/src/sys/sys/sys_inode.c line 23
- in /usr/src/sys/sys/sys_net.c line 31
- in /usr/src/sys/sys/sys_socket.c line 24
- in /usr/src/sys/sys/tty.c line 11
- in /usr/src/sys/sys/tty_conf.c line 13
- in /usr/src/sys/sys/tty_pty.c line 18
- in /usr/src/sys/sys/tty_subr.c line 12
- in /usr/src/sys/sys/tty_tty.c line 16
- in /usr/src/sys/sys/ufs_disksubr.c line 49
- in /usr/src/sys/sys/ufs_mount.c line 23
- in /usr/src/ucb/compress/compress.c line 265
- in /usr/src/ucb/ftp/ftp.c line 24
- in /usr/src/ucb/ftp/main.c line 31
- in /usr/src/ucb/rsh.c line 19
- in /usr/src/ucb/script.c line 24
- in /usr/src/ucb/tcopy.c line 19
- in /usr/src/ucb/telnet.c line 24
- in /usr/src/ucb/tftp/tftpsubs.c line 37
- in /usr/src/ucb/tn3270/tn3270.c line 32
- in /usr/src/ucb/w.c line 20
- in /usr/src/usr.bin/uucp/uucpd.c line 22
- in /usr/src/usr.lib/libU77/tapeio.c line 22
- in /usr/src/usr.lib/libplot/hp2648/hp2648.h line 17
- in /usr/src/usr.sbin/arp/arp.c line 14
- in /usr/src/usr.sbin/cron/compat.c line 30
- in /usr/src/usr.sbin/inetd/inetd.c line 93
- in /usr/src/usr.sbin/named/named/ns_main.c line 35
- in /usr/src/usr.sbin/ntp/ntp.c line 91
- in /usr/src/usr.sbin/ntp/ntp_adjust.c line 71
- in /usr/src/usr.sbin/ntp/ntp_proto.c line 122
- in /usr/src/usr.sbin/ntp/ntp_sock.c line 50
- in /usr/src/usr.sbin/ntp/ntpd.c line 101
- in /usr/src/usr.sbin/ntp/read_psti.c line 39
- in /usr/src/usr.sbin/ntp/test.c line 57
- in /usr/src/usr.sbin/pstat/pstat.c line 29
- in /usr/src/usr.sbin/rwhod/rwhod.c line 19
- in /usr/src/usr.sbin/rxformat/rxformat.c line 19
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 16
- in /usr/src/usr.sbin/sendmail.MX/src/deliver.c line 29
- in /usr/src/usr.sbin/sendmail/src/conf.c line 16
- in /usr/src/usr.sbin/syslogd/syslogd.c line 54
- in /usr/src/usr.sbin/timed/timed.c line 20
- in /usr/src/usr.sbin/traceroute/traceroute.c line 200

Last modified: 1997-03-29 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 2904 |