The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/ultrix/ultrix_tty.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: ultrix_tty.h,v 1.2 1996/01/04 19:03:36 jonathan Exp $  */
    2 
    3 /* From:  NetBSD sunos.h,v 1.4 1995/03/04 09:50:00 pk Exp       */
    4 
    5 
    6 struct ultrix_ttysize {
    7         int     ts_row;
    8         int     ts_col;
    9 };
   10 
   11 /*
   12  *  Ultrix includes (BRL-derived?)  SysV compatibile termio
   13  * as well as termios.  This is the termio structure.
   14  */
   15 
   16 struct ultrix_termio {
   17         u_short c_iflag;
   18         u_short c_oflag;
   19         u_short c_cflag;
   20         u_short c_lflag;
   21         char    c_line;
   22         unsigned char c_cc[10]; /* 8 for SunOS */
   23 };
   24 #define ULTRIX_TCGETA   _IOR('t', 91, struct ultrix_termio)
   25 #define ULTRIX_TCSETA   _IOW('t', 90, struct ultrix_termio)
   26 #define ULTRIX_TCSETAW  _IOW('t', 89, struct ultrix_termio)
   27 #define ULTRIX_TCSETAF  _IOW('t', 88, struct ultrix_termio)
   28 
   29 /*
   30  * Ultrix POSIX-compatible termios.
   31  * Very similar to SunOS but with more c_cc entries (gag)
   32  */
   33 struct ultrix_termios {
   34         u_long  c_iflag;
   35         u_long  c_oflag;
   36         u_long  c_cflag;
   37         u_long  c_lflag;
   38         u_char  c_cc[19]; /* 17 for Sun */
   39         u_char  c_line;
   40 };
   41 
   42 #define ULTRIX_TCXONC   _IO('T', 6)
   43 #define ULTRIX_TCFLSH   _IO('T', 7)
   44 #define ULTRIX_TCGETS   _IOR('t', 85, struct ultrix_termios)
   45 #define ULTRIX_TCSETS   _IOW('t', 84, struct ultrix_termios) /* set termios */
   46 #define ULTRIX_TCSETSW  _IOW('t', 83, struct ultrix_termios) /* Drain&set,*/
   47 #define ULTRIX_TCSETSF  _IOW('t', 82, struct ultrix_termios) /*Drainflush,set*/
   48 #define ULTRIX_TCSNDBRK _IO('T', 12)
   49 #define ULTRIX_TCDRAIN  _IO('T', 13)

Cache object: b51e283c11fba801503397f27a04c76e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.