From 833c6b5c06d3301b855e89f4e523622235547a91 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Thu, 14 May 2020 13:25:39 -0700 Subject: [PATCH] Add tioc*brk constants for Android --- src/unix/linux_like/android/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/linux_like/android/mod.rs b/src/unix/linux_like/android/mod.rs index b070e77b..c83b8efa 100644 --- a/src/unix/linux_like/android/mod.rs +++ b/src/unix/linux_like/android/mod.rs @@ -1160,6 +1160,8 @@ pub const TIOCMBIC: ::c_int = 0x5417; pub const TIOCMSET: ::c_int = 0x5418; pub const FIONREAD: ::c_int = 0x541B; pub const TIOCCONS: ::c_int = 0x541D; +pub const TIOCSBRK: ::c_int = 0x5427; +pub const TIOCCBRK: ::c_int = 0x5428; pub const ST_RDONLY: ::c_ulong = 1; pub const ST_NOSUID: ::c_ulong = 2;