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