Skip to content

Commit 174920c

Browse files
authored
Merge pull request #1760 from Susurrus/tiocbrk_android
Add TIOC*BRK constants for Android
2 parents 21447ec + 833c6b5 commit 174920c

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/android

1 file changed

+2
-0
lines changed

src/unix/linux_like/android/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,8 @@ pub const TIOCMBIC: ::c_int = 0x5417;
11601160
pub const TIOCMSET: ::c_int = 0x5418;
11611161
pub const FIONREAD: ::c_int = 0x541B;
11621162
pub const TIOCCONS: ::c_int = 0x541D;
1163+
pub const TIOCSBRK: ::c_int = 0x5427;
1164+
pub const TIOCCBRK: ::c_int = 0x5428;
11631165

11641166
pub const ST_RDONLY: ::c_ulong = 1;
11651167
pub const ST_NOSUID: ::c_ulong = 2;

0 commit comments

Comments
 (0)