public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a7c42
)
Library: Remove duplicate tcflush hiding in tcflow.c -- although we
author
Will Sowerbutts
<will@sowerbutts.com>
Sat, 3 Jan 2015 23:20:35 +0000
(23:20 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Sat, 3 Jan 2015 23:36:44 +0000
(23:36 +0000)
still don't have a tcflow()!
Library/libs/tcflow.c
patch
|
blob
|
history
diff --git
a/Library/libs/tcflow.c
b/Library/libs/tcflow.c
index
c517773
..
27d8492
100644
(file)
--- a/
Library/libs/tcflow.c
+++ b/
Library/libs/tcflow.c
@@
-1,7
+1,10
@@
#include <termios.h>
#include <unistd.h>
+#include <errno.h>
-int tcfl
ush(int fd, int q
)
+int tcfl
ow(int fd, int action
)
{
- return ioctl(fd, TIOCFLUSH, q);
+ /* TODO */
+ errno = EINVAL;
+ return -1;
}