termios.h 742 B

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