Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
termios
/
cfgetospeed.c
blob: f888b25a572d6fa31125de82ebf78ea1a0344fb8 [
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
);
}