projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless __yield alias for sched_yield
[oweals/musl.git]
/
src
/
termios
/
tcgetattr.c
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
4
int tcgetattr(int fd, struct termios *tio)
5
{
6
if (ioctl(fd, TCGETS, tio))
7
return -1;
8
return 0;
9
}