summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/termios/tcflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/termios/tcflow.c')
-rw-r--r--libc-top-half/musl/src/termios/tcflow.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/termios/tcflow.c b/libc-top-half/musl/src/termios/tcflow.c
new file mode 100644
index 0000000..c7fc3fe
--- /dev/null
+++ b/libc-top-half/musl/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);
+}