repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make configure attempt to catch broken floating point CFLAGS/defaults
[musl.git]
/
src
/
termios
/
cfgetospeed.c
blob
0ebc198c1c500ab532f1bda94891e4859949b706
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
4
speed_t
cfgetospeed
(
const struct
termios
*
tio
)
5
{
6
return
tio
->
c_cflag
&
CBAUD
;
7
}
8
9
speed_t
cfgetispeed
(
const struct
termios
*
tio
)
10
{
11
return
cfgetospeed
(
tio
);
12
}