diff --git a/changelog/2701.added.md b/changelog/2701.added.md new file mode 100644 index 0000000000..2383325f89 --- /dev/null +++ b/changelog/2701.added.md @@ -0,0 +1,2 @@ +Add termios `OutputFlags::OFILL` for Linux, Andord, Aix, Cygwin, Fuchsia, Haiku, +GNU/Hurd, Nto, Redox, Illumos, Solaris and Apple OSes. diff --git a/src/sys/termios.rs b/src/sys/termios.rs index bff981fad5..b7a693ab10 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -503,6 +503,17 @@ libc_bitflags! { target_os = "haiku", apple_targets))] OFDEL as tcflag_t; + #[cfg(any(linux_android, + target_os = "aix", + target_os = "cygwin", + target_os = "fuchsia", + target_os = "haiku", + target_os = "hurd", + target_os = "nto", + target_os = "redox", + solarish, + apple_targets))] + OFILL as tcflag_t; #[cfg(any(linux_android, target_os = "haiku", apple_targets))]