]> git.proxmox.com Git - rustc.git/blobdiff - src/vendor/libc/src/unix/notbsd/linux/other/b32/x86.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / vendor / libc / src / unix / notbsd / linux / other / b32 / x86.rs
index 141339694da55a0e6acf7bfb65fdc50e94f46384..1506aca1c0f179af63262db5636377fcf06b605d 100644 (file)
@@ -200,6 +200,17 @@ s! {
         __glibc_reserved4: ::c_ulong,
         __glibc_reserved5: ::c_ulong,
     }
+
+    pub struct termios2 {
+        pub c_iflag: ::tcflag_t,
+        pub c_oflag: ::tcflag_t,
+        pub c_cflag: ::tcflag_t,
+        pub c_lflag: ::tcflag_t,
+        pub c_line: ::cc_t,
+        pub c_cc: [::cc_t; 19],
+        pub c_ispeed: ::speed_t,
+        pub c_ospeed: ::speed_t,
+    }
 }
 
 pub const O_DIRECT: ::c_int = 0x4000;
@@ -304,6 +315,7 @@ pub const B19200: ::speed_t = 0o000016;
 pub const B38400: ::speed_t = 0o000017;
 pub const EXTA: ::speed_t = B19200;
 pub const EXTB: ::speed_t = B38400;
+pub const BOTHER: ::speed_t = 0o010000;
 pub const B57600: ::speed_t = 0o010001;
 pub const B115200: ::speed_t = 0o010002;
 pub const B230400: ::speed_t = 0o010003;