source:
trunk/minix/lib/posix/_tcgetattr.c@
12
Last change on this file since 12 was 9, checked in by , 14 years ago | |
---|---|
File size: 222 bytes |
Line | |
---|---|
1 | #define tcgetattr _tcgetattr |
2 | #define ioctl _ioctl |
3 | #include <sys/ioctl.h> |
4 | #include <errno.h> |
5 | #include <termios.h> |
6 | |
7 | int tcgetattr(fd, termios_p) |
8 | int fd; |
9 | struct termios *termios_p; |
10 | { |
11 | return(ioctl(fd, TCGETS, termios_p)); |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.