projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
termios
/
cfgetospeed.c
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
}