Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_SPARC_TERMIOS_H
0003 #define _UAPI_SPARC_TERMIOS_H
0004 
0005 #include <asm/ioctls.h>
0006 #include <asm/termbits.h>
0007 
0008 #if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS)
0009 struct sgttyb {
0010     char    sg_ispeed;
0011     char    sg_ospeed;
0012     char    sg_erase;
0013     char    sg_kill;
0014     short   sg_flags;
0015 };
0016 
0017 struct tchars {
0018     char    t_intrc;
0019     char    t_quitc;
0020     char    t_startc;
0021     char    t_stopc;
0022     char    t_eofc;
0023     char    t_brkc;
0024 };
0025 
0026 struct ltchars {
0027     char    t_suspc;
0028     char    t_dsuspc;
0029     char    t_rprntc;
0030     char    t_flushc;
0031     char    t_werasc;
0032     char    t_lnextc;
0033 };
0034 #endif /* __KERNEL__ */
0035 
0036 struct winsize {
0037     unsigned short ws_row;
0038     unsigned short ws_col;
0039     unsigned short ws_xpixel;
0040     unsigned short ws_ypixel;
0041 };
0042 
0043 
0044 #endif /* _UAPI_SPARC_TERMIOS_H */