termios.h 679 B

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