Path: blob/master/arch/sparc/include/uapi/asm/termios.h
26495 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _UAPI_SPARC_TERMIOS_H2#define _UAPI_SPARC_TERMIOS_H34#include <asm/ioctls.h>5#include <asm/termbits.h>67#if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS)8struct sgttyb {9char sg_ispeed;10char sg_ospeed;11char sg_erase;12char sg_kill;13short sg_flags;14};1516struct tchars {17char t_intrc;18char t_quitc;19char t_startc;20char t_stopc;21char t_eofc;22char t_brkc;23};2425struct ltchars {26char t_suspc;27char t_dsuspc;28char t_rprntc;29char t_flushc;30char t_werasc;31char t_lnextc;32};33#endif /* __KERNEL__ */3435struct winsize {36unsigned short ws_row;37unsigned short ws_col;38unsigned short ws_xpixel;39unsigned short ws_ypixel;40};4142#define NCC 843struct termio {44unsigned short c_iflag; /* input mode flags */45unsigned short c_oflag; /* output mode flags */46unsigned short c_cflag; /* control mode flags */47unsigned short c_lflag; /* local mode flags */48unsigned char c_line; /* line discipline */49unsigned char c_cc[NCC]; /* control characters */50};5152#endif /* _UAPI_SPARC_TERMIOS_H */535455