File tree Expand file tree Collapse file tree 7 files changed +19
-2
lines changed
Expand file tree Collapse file tree 7 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -861,6 +861,11 @@ pub const EXTB: speed_t = 38400;
861861pub const SEM_FAILED : * mut sem_t = 0 as * mut sem_t ;
862862
863863pub const CRTSCTS : :: tcflag_t = 0x00030000 ;
864+ pub const CCTS_OFLOW : :: tcflag_t = 0x00010000 ;
865+ pub const CRTS_IFLOW : :: tcflag_t = 0x00020000 ;
866+ pub const CDTR_IFLOW : :: tcflag_t = 0x00040000 ;
867+ pub const CDSR_OFLOW : :: tcflag_t = 0x00080000 ;
868+ pub const CCAR_OFLOW : :: tcflag_t = 0x00100000 ;
864869pub const VERASE2 : usize = 7 ;
865870pub const OCRNL : :: tcflag_t = 0x10 ;
866871pub const ONOCR : :: tcflag_t = 0x20 ;
Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ pub const OPOST: ::tcflag_t = 0x1;
259259pub const ONLCR : :: tcflag_t = 0x2 ;
260260pub const OXTABS : :: tcflag_t = 0x4 ;
261261pub const ONOEOT : :: tcflag_t = 0x8 ;
262+ pub const CIGNORE : :: tcflag_t = 0x00000001 ;
262263pub const CSIZE : :: tcflag_t = 0x00000300 ;
263264pub const CS5 : :: tcflag_t = 0x00000000 ;
264265pub const CS6 : :: tcflag_t = 0x00000100 ;
@@ -285,6 +286,7 @@ pub const TOSTOP: ::tcflag_t = 0x00400000;
285286pub const FLUSHO : :: tcflag_t = 0x00800000 ;
286287pub const PENDIN : :: tcflag_t = 0x20000000 ;
287288pub const NOFLSH : :: tcflag_t = 0x80000000 ;
289+ pub const MDMBUF : :: tcflag_t = 0x00100000 ;
288290
289291pub const WNOHANG : :: c_int = 0x00000001 ;
290292pub const WUNTRACED : :: c_int = 0x00000002 ;
Original file line number Diff line number Diff line change @@ -538,6 +538,9 @@ pub const EXTB: speed_t = 38400;
538538
539539pub const SEM_FAILED : * mut sem_t = 0 as * mut sem_t ;
540540
541+ pub const CRTSCTS : :: tcflag_t = 0x00010000 ;
542+ pub const CRTS_IFLOW : :: tcflag_t = CRTSCTS ;
543+ pub const CCTS_OFLOW : :: tcflag_t = CRTSCTS ;
541544pub const OCRNL : :: tcflag_t = 0x10 ;
542545
543546f ! {
Original file line number Diff line number Diff line change @@ -463,8 +463,6 @@ pub const NOTE_TRACK: ::uint32_t = 0x00000001;
463463pub const NOTE_TRACKERR : :: uint32_t = 0x00000002 ;
464464pub const NOTE_CHILD : :: uint32_t = 0x00000004 ;
465465
466- pub const CRTSCTS : :: tcflag_t = 0x00010000 ;
467-
468466pub const TMP_MAX : :: c_uint = 308915776 ;
469467
470468pub const NI_MAXHOST : :: socklen_t = 1025 ;
@@ -646,6 +644,8 @@ pub const B921600: ::speed_t = 921600;
646644
647645pub const ONOCR : :: tcflag_t = 0x20 ;
648646pub const ONLRET : :: tcflag_t = 0x40 ;
647+ pub const CDTRCTS : :: tcflag_t = 0x00020000 ;
648+ pub const CHWFLOW : :: tcflag_t = :: MDMBUF | :: CRTSCTS | :: CDTRCTS ;
649649
650650// dirfd() is a macro on netbsd to access
651651// the first field of the struct where dirp points to:
Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ pub const KI_WMESGLEN: ::c_int = 8;
460460pub const KI_MAXLOGNAME : :: c_int = 32 ;
461461pub const KI_EMULNAMELEN : :: c_int = 8 ;
462462
463+ pub const CHWFLOW : :: tcflag_t = :: MDMBUF | :: CRTSCTS ;
463464pub const OLCUC : :: tcflag_t = 0x20 ;
464465pub const ONOCR : :: tcflag_t = 0x40 ;
465466pub const ONLRET : :: tcflag_t = 0x80 ;
Original file line number Diff line number Diff line change @@ -734,6 +734,10 @@ pub const NLA_TYPE_MASK: ::c_int = !(NLA_F_NESTED | NLA_F_NET_BYTEORDER);
734734
735735pub const SIGEV_THREAD_ID : :: c_int = 4 ;
736736
737+ pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
738+ pub const CIBAUD : :: tcflag_t = 0o02003600000 ;
739+ pub const CBAUDEX : :: tcflag_t = 0o010000 ;
740+
737741f ! {
738742 pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
739743 for slot in cpuset. __bits. iter_mut( ) {
Original file line number Diff line number Diff line change @@ -443,6 +443,8 @@ pub const NLA_F_NESTED: ::c_int = 1 << 15;
443443pub const NLA_F_NET_BYTEORDER : :: c_int = 1 << 14 ;
444444pub const NLA_TYPE_MASK : :: c_int = !( NLA_F_NESTED | NLA_F_NET_BYTEORDER ) ;
445445
446+ pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
447+
446448cfg_if ! {
447449 if #[ cfg( any( target_arch = "arm" , target_arch = "x86" ,
448450 target_arch = "x86_64" ) ) ] {
You can’t perform that action at this time.
0 commit comments