Last change
on this file since 373 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
223 bytes
|
Rev | Line | |
---|
[352] | 1 | #include <termios.h>
|
---|
| 2 | #include <sys/ioctl.h>
|
---|
| 3 | #include <errno.h>
|
---|
| 4 |
|
---|
| 5 | int tcsetattr(int fd, int act, const struct termios *tio)
|
---|
| 6 | {
|
---|
| 7 | if (act < 0 || act > 2) {
|
---|
| 8 | errno = EINVAL;
|
---|
| 9 | return -1;
|
---|
| 10 | }
|
---|
| 11 | return ioctl(fd, TCSETS+act, tio);
|
---|
| 12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.