source:
EcnlProtoTool/trunk/musl-1.1.18/src/termios/tcgetattr.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 145 bytes |
Line | |
---|---|
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 | } |
Note:
See TracBrowser
for help on using the repository browser.