xref: /linux/arch/sparc/include/uapi/asm/termios.h (revision 44f57d78)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_SPARC_TERMIOS_H
3 #define _UAPI_SPARC_TERMIOS_H
4 
5 #include <asm/ioctls.h>
6 #include <asm/termbits.h>
7 
8 #if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS)
9 struct sgttyb {
10 	char	sg_ispeed;
11 	char	sg_ospeed;
12 	char	sg_erase;
13 	char	sg_kill;
14 	short	sg_flags;
15 };
16 
17 struct tchars {
18 	char	t_intrc;
19 	char	t_quitc;
20 	char	t_startc;
21 	char	t_stopc;
22 	char	t_eofc;
23 	char	t_brkc;
24 };
25 
26 struct ltchars {
27 	char	t_suspc;
28 	char	t_dsuspc;
29 	char	t_rprntc;
30 	char	t_flushc;
31 	char	t_werasc;
32 	char	t_lnextc;
33 };
34 #endif /* __KERNEL__ */
35 
36 struct winsize {
37 	unsigned short ws_row;
38 	unsigned short ws_col;
39 	unsigned short ws_xpixel;
40 	unsigned short ws_ypixel;
41 };
42 
43 
44 #endif /* _UAPI_SPARC_TERMIOS_H */
45