termios.h 443 B

12345678910111213141516171819202122
  1. #ifndef _LINUX_TERMIOS_H
  2. #define _LINUX_TERMIOS_H
  3. #include <linux/types.h>
  4. #include <asm/termios.h>
  5. #define NFF 5
  6. struct termiox
  7. {
  8. __u16 x_hflag;
  9. __u16 x_cflag;
  10. __u16 x_rflag[NFF];
  11. __u16 x_sflag;
  12. };
  13. #define RTSXOFF 0x0001 /* RTS flow control on input */
  14. #define CTSXON 0x0002 /* CTS flow control on output */
  15. #define DTRXOFF 0x0004 /* DTR flow control on input */
  16. #define DSRXON 0x0008 /* DCD flow control on output */
  17. #endif