Skip to content

Commit d3c18c1

Browse files
committed
Add TIOCSBRK and TIOCCBRK
1 parent 13d4a5d commit d3c18c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/linux_like/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ pub const ONOCR: ::tcflag_t = 0o000020;
935935
pub const ONLRET: ::tcflag_t = 0o000040;
936936
pub const OFILL: ::tcflag_t = 0o000100;
937937
pub const OFDEL: ::tcflag_t = 0o000200;
938+
pub const TIOCSBRK: ::c_int = 0x5427;
939+
pub const TIOCCBRK: ::c_int = 0x5428;
938940

939941
pub const CLONE_VM: ::c_int = 0x100;
940942
pub const CLONE_FS: ::c_int = 0x200;

0 commit comments

Comments
 (0)