summaryrefslogtreecommitdiff
path: root/lib/libc/termios/tcflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/termios/tcflow.c')
-rw-r--r--lib/libc/termios/tcflow.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/termios/tcflow.c b/lib/libc/termios/tcflow.c
new file mode 100644
index 00000000..a10455d1
--- /dev/null
+++ b/lib/libc/termios/tcflow.c
@@ -0,0 +1,7 @@
+#include <asm-generic/ioctls.h>
+#include <syscall.h>
+
+int tcflow(int fildes, int action)
+{
+ return syscall(ioctl, fildes, TCXONC, action);
+}