Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _UAPI_ASM_TERMIOS_H
     20 #define _UAPI_ASM_TERMIOS_H
     21 #include <linux/errno.h>
     22 #include <asm/termbits.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #include <asm/ioctls.h>
     25 struct sgttyb {
     26  char sg_ispeed;
     27  char sg_ospeed;
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  char sg_erase;
     30  char sg_kill;
     31  int sg_flags;
     32 };
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 struct tchars {
     35  char t_intrc;
     36  char t_quitc;
     37  char t_startc;
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  char t_stopc;
     40  char t_eofc;
     41  char t_brkc;
     42 };
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 struct ltchars {
     45  char t_suspc;
     46  char t_dsuspc;
     47  char t_rprntc;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  char t_flushc;
     50  char t_werasc;
     51  char t_lnextc;
     52 };
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 struct winsize {
     55  unsigned short ws_row;
     56  unsigned short ws_col;
     57  unsigned short ws_xpixel;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59  unsigned short ws_ypixel;
     60 };
     61 #define NCC 8
     62 struct termio {
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64  unsigned short c_iflag;
     65  unsigned short c_oflag;
     66  unsigned short c_cflag;
     67  unsigned short c_lflag;
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69  char c_line;
     70  unsigned char c_cc[NCCS];
     71 };
     72 #define TIOCM_LE 0x001
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define TIOCM_DTR 0x002
     75 #define TIOCM_RTS 0x004
     76 #define TIOCM_ST 0x010
     77 #define TIOCM_SR 0x020
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define TIOCM_CTS 0x040
     80 #define TIOCM_CAR 0x100
     81 #define TIOCM_CD TIOCM_CAR
     82 #define TIOCM_RNG 0x200
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define TIOCM_RI TIOCM_RNG
     85 #define TIOCM_DSR 0x400
     86 #define TIOCM_OUT1 0x2000
     87 #define TIOCM_OUT2 0x4000
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define TIOCM_LOOP 0x8000
     90 #endif
     91