source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/termios/tcgetattr.c@
349
Last change on this file since 349 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 145 bytes |
Rev | Line | |
---|---|---|
[337] | 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.