summaryrefslogtreecommitdiff
path: root/src/termios/tcflow.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 12:33:24 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 12:33:24 -0400
commit661977b6f44652cf7d14c38e4b888c51e399cdd4 (patch)
tree792cf5c284cc9f90c0f662b503a928164314b5f0 /src/termios/tcflow.c
parent05f52c10c527ce911a2880b4ddd4c9ee299172a8 (diff)
sadly Linux-specific implementation
Diffstat (limited to 'src/termios/tcflow.c')
-rw-r--r--src/termios/tcflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/termios/tcflow.c b/src/termios/tcflow.c
index 05898373..41fdcfbc 100644
--- a/src/termios/tcflow.c
+++ b/src/termios/tcflow.c
@@ -1,9 +1,9 @@
#include <termios.h>
+#include "_termios.h"
int tcflow(int fildes, int action)
{
- (void)fildes;
- return action;
+ return ioctl(fildes, TCXONC, action);
}
/*