termios.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _TERMIOS_H
  2. #include <termios/termios.h>
  3. #ifndef _ISOMAC
  4. extern speed_t __cfgetospeed (const struct termios *__termios_p);
  5. extern speed_t __cfgetispeed (const struct termios *__termios_p);
  6. extern int __cfsetospeed (struct termios *__termios_p, speed_t __speed);
  7. extern int __cfsetispeed (struct termios *__termios_p, speed_t __speed);
  8. extern int __cfsetspeed (struct termios *__termios_p, speed_t __speed);
  9. extern baud_t __cfgetobaud (const struct termios *__termios_p);
  10. extern baud_t __cfgetibaud (const struct termios *__termios_p);
  11. extern int __cfsetobaud (struct termios *__termios_p, baud_t __baud);
  12. extern int __cfsetibaud (struct termios *__termios_p, baud_t __baud);
  13. extern int __cfsetbaud (struct termios *__termios_p, baud_t __baud);
  14. extern int __tcgetattr (int __fd, struct termios *__termios_p);
  15. extern int __tcsetattr (int __fd, int __optional_actions,
  16. const struct termios *__termios_p);
  17. extern int __libc_tcdrain (int __fd);
  18. libc_hidden_proto (__tcgetattr)
  19. libc_hidden_proto (__tcsetattr)
  20. libc_hidden_proto (__cfgetispeed)
  21. libc_hidden_proto (__cfgetospeed)
  22. libc_hidden_proto (__cfsetispeed)
  23. libc_hidden_proto (__cfsetospeed)
  24. libc_hidden_proto (__cfsetspeed)
  25. libc_hidden_proto (__cfgetibaud)
  26. libc_hidden_proto (__cfgetobaud)
  27. libc_hidden_proto (__cfsetibaud)
  28. libc_hidden_proto (__cfsetobaud)
  29. libc_hidden_proto (__cfsetbaud)
  30. #endif
  31. #endif