Path: blob/master/arch/alpha/include/uapi/asm/termios.h
26498 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _UAPI_ALPHA_TERMIOS_H2#define _UAPI_ALPHA_TERMIOS_H34#include <asm/ioctls.h>5#include <asm/termbits.h>67struct sgttyb {8char sg_ispeed;9char sg_ospeed;10char sg_erase;11char sg_kill;12short sg_flags;13};1415struct tchars {16char t_intrc;17char t_quitc;18char t_startc;19char t_stopc;20char t_eofc;21char t_brkc;22};2324struct ltchars {25char t_suspc;26char t_dsuspc;27char t_rprntc;28char t_flushc;29char t_werasc;30char t_lnextc;31};3233struct winsize {34unsigned short ws_row;35unsigned short ws_col;36unsigned short ws_xpixel;37unsigned short ws_ypixel;38};3940#define NCC 841struct termio {42unsigned short c_iflag; /* input mode flags */43unsigned short c_oflag; /* output mode flags */44unsigned short c_cflag; /* control mode flags */45unsigned short c_lflag; /* local mode flags */46unsigned char c_line; /* line discipline */47unsigned char c_cc[NCC]; /* control characters */48};4950/*51* c_cc characters in the termio structure. Oh, how I love being52* backwardly compatible. Notice that character 4 and 5 are53* interpreted differently depending on whether ICANON is set in54* c_lflag. If it's set, they are used as _VEOF and _VEOL, otherwise55* as _VMIN and V_TIME. This is for compatibility with OSF/1 (which56* is compatible with sysV)...57*/58#define _VINTR 059#define _VQUIT 160#define _VERASE 261#define _VKILL 362#define _VEOF 463#define _VMIN 464#define _VEOL 565#define _VTIME 566#define _VEOL2 667#define _VSWTC 7686970#endif /* _UAPI_ALPHA_TERMIOS_H */717273