Skip to content

Commit 984420e

Browse files
3v1n0SteveLauC
andauthored
termios: Add OFILL (#2701)
* termios: Add OFILL Related to: uutils/coreutils#9432 * changelog * typo: Android --------- Co-authored-by: Steve Lau <[email protected]>
1 parent 41e2f81 commit 984420e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

changelog/2701.added.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add termios `OutputFlags::OFILL` for Linux, Android, Aix, Cygwin, Fuchsia, Haiku,
2+
GNU/Hurd, Nto, Redox, Illumos, Solaris and Apple OSes.

src/sys/termios.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,17 @@ libc_bitflags! {
503503
target_os = "haiku",
504504
apple_targets))]
505505
OFDEL as tcflag_t;
506+
#[cfg(any(linux_android,
507+
target_os = "aix",
508+
target_os = "cygwin",
509+
target_os = "fuchsia",
510+
target_os = "haiku",
511+
target_os = "hurd",
512+
target_os = "nto",
513+
target_os = "redox",
514+
solarish,
515+
apple_targets))]
516+
OFILL as tcflag_t;
506517
#[cfg(any(linux_android,
507518
target_os = "haiku",
508519
apple_targets))]

0 commit comments

Comments
 (0)