From 9b2d15c12ac90e66c68fe172acb3cb8e00205c07 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 6 Mar 2024 19:09:22 +0100 Subject: [PATCH] Added TTY flag. --- src/dm_tty.f90 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dm_tty.f90 b/src/dm_tty.f90 index 3e01ac5..1ba7551 100644 --- a/src/dm_tty.f90 +++ b/src/dm_tty.f90 @@ -297,6 +297,7 @@ integer function dm_tty_open(tty, path, baud_rate, byte_size, parity, stop_bits) ! Set flags. flags = ior(O_NOCTTY, O_SYNC) flags = ior(flags, O_NONBLOCK) + flags = ior(flags, O_NDELAY) select case (tty%access) case (TTY_RDONLY)