linux/include/uapi/asm-generic/termbits.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __ASM_GENERIC_TERMBITS_H
#define __ASM_GENERIC_TERMBITS_H

#include <asm-generic/termbits-common.h>

tcflag_t;

#define NCCS
struct termios {};

struct termios2 {};

struct ktermios {};

/* c_cc characters */
#define VINTR
#define VQUIT
#define VERASE
#define VKILL
#define VEOF
#define VTIME
#define VMIN
#define VSWTC
#define VSTART
#define VSTOP
#define VSUSP
#define VEOL
#define VREPRINT
#define VDISCARD
#define VWERASE
#define VLNEXT
#define VEOL2

/* c_iflag bits */
#define IUCLC
#define IXON
#define IXOFF
#define IMAXBEL
#define IUTF8

/* c_oflag bits */
#define OLCUC
#define ONLCR
#define NLDLY
#define NL0
#define NL1
#define CRDLY
#define CR0
#define CR1
#define CR2
#define CR3
#define TABDLY
#define TAB0
#define TAB1
#define TAB2
#define TAB3
#define XTABS
#define BSDLY
#define BS0
#define BS1
#define VTDLY
#define VT0
#define VT1
#define FFDLY
#define FF0
#define FF1

/* c_cflag bit meaning */
#define CBAUD
#define CSIZE
#define CS5
#define CS6
#define CS7
#define CS8
#define CSTOPB
#define CREAD
#define PARENB
#define PARODD
#define HUPCL
#define CLOCAL
#define CBAUDEX
#define BOTHER
#define B57600
#define B115200
#define B230400
#define B460800
#define B500000
#define B576000
#define B921600
#define B1000000
#define B1152000
#define B1500000
#define B2000000
#define B2500000
#define B3000000
#define B3500000
#define B4000000
#define CIBAUD

/* c_lflag bits */
#define ISIG
#define ICANON
#define XCASE
#define ECHO
#define ECHOE
#define ECHOK
#define ECHONL
#define NOFLSH
#define TOSTOP
#define ECHOCTL
#define ECHOPRT
#define ECHOKE
#define FLUSHO
#define PENDIN
#define IEXTEN
#define EXTPROC

/* tcsetattr uses these */
#define TCSANOW
#define TCSADRAIN
#define TCSAFLUSH

#endif /* __ASM_GENERIC_TERMBITS_H */