File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1021,6 +1021,26 @@ pub const GLOB_TILDE_CHECK: c_int = 1 << 14;
10211021
10221022pub const MADV_COLLAPSE : c_int = 25 ;
10231023
1024+ // bits/termios-baud.h
1025+ pub const B0 : crate :: speed_t = 0o000000 ;
1026+ pub const B50 : crate :: speed_t = 0o000001 ;
1027+ pub const B75 : crate :: speed_t = 0o000002 ;
1028+ pub const B110 : crate :: speed_t = 0o000003 ;
1029+ pub const B134 : crate :: speed_t = 0o000004 ;
1030+ pub const B150 : crate :: speed_t = 0o000005 ;
1031+ pub const B200 : crate :: speed_t = 0o000006 ;
1032+ pub const B300 : crate :: speed_t = 0o000007 ;
1033+ pub const B600 : crate :: speed_t = 0o000010 ;
1034+ pub const B1200 : crate :: speed_t = 0o000011 ;
1035+ pub const B1800 : crate :: speed_t = 0o000012 ;
1036+ pub const B2400 : crate :: speed_t = 0o000013 ;
1037+ pub const B4800 : crate :: speed_t = 0o000014 ;
1038+ pub const B9600 : crate :: speed_t = 0o000015 ;
1039+ pub const B19200 : crate :: speed_t = 0o000016 ;
1040+ pub const B38400 : crate :: speed_t = 0o000017 ;
1041+ pub const EXTA : crate :: speed_t = B19200 ;
1042+ pub const EXTB : crate :: speed_t = B38400 ;
1043+
10241044cfg_if ! {
10251045 if #[ cfg( any(
10261046 target_arch = "arm" ,
You can’t perform that action at this time.
0 commit comments