Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
termios
/
cfgetospeed.c
blob: 048ced33a874d137d6c8e2427e0ca122bbdc1a8e [
file
] [
log
] [
blame
]
#include
<sys/ioctl.h>
#include
<termios.h>
speed_t
cfgetospeed
(
const
struct
termios
*
tio
)
{
return
tio
->
c_cflag
&
CBAUD
;
}
speed_t
cfgetispeed
(
const
struct
termios
*
tio
)
{
return
cfgetospeed
(
tio
);
}