make configure attempt to catch broken floating point CFLAGS/defaults
[musl.git] / src / termios / cfgetospeed.c
blob0ebc198c1c500ab532f1bda94891e4859949b706
1 #include <termios.h>
2 #include <sys/ioctl.h>
4 speed_t cfgetospeed(const struct termios *tio)
6 return tio->c_cflag & CBAUD;
9 speed_t cfgetispeed(const struct termios *tio)
11 return cfgetospeed(tio);