File tree 7 files changed +20
-2
lines changed
7 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -861,6 +861,11 @@ pub const EXTB: speed_t = 38400;
861
861
pub const SEM_FAILED : * mut sem_t = 0 as * mut sem_t ;
862
862
863
863
pub 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 ;
864
869
pub const VERASE2 : usize = 7 ;
865
870
pub const OCRNL : :: tcflag_t = 0x10 ;
866
871
Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ pub const OPOST: ::tcflag_t = 0x1;
259
259
pub const ONLCR : :: tcflag_t = 0x2 ;
260
260
pub const OXTABS : :: tcflag_t = 0x4 ;
261
261
pub const ONOEOT : :: tcflag_t = 0x8 ;
262
+ pub const CIGNORE : :: tcflag_t = 0x00000001 ;
262
263
pub const CSIZE : :: tcflag_t = 0x00000300 ;
263
264
pub const CS5 : :: tcflag_t = 0x00000000 ;
264
265
pub const CS6 : :: tcflag_t = 0x00000100 ;
@@ -285,6 +286,7 @@ pub const TOSTOP: ::tcflag_t = 0x00400000;
285
286
pub const FLUSHO : :: tcflag_t = 0x00800000 ;
286
287
pub const PENDIN : :: tcflag_t = 0x20000000 ;
287
288
pub const NOFLSH : :: tcflag_t = 0x80000000 ;
289
+ pub const MDMBUF : :: tcflag_t = 0x00100000 ;
288
290
289
291
pub const WNOHANG : :: c_int = 0x00000001 ;
290
292
pub 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;
538
538
539
539
pub const SEM_FAILED : * mut sem_t = 0 as * mut sem_t ;
540
540
541
+ pub const CRTSCTS : :: tcflag_t = 0x00010000 ;
542
+ pub const CRTS_IFLOW : :: tcflag_t = CRTSCTS ;
543
+ pub const CCTS_OFLOW : :: tcflag_t = CRTSCTS ;
541
544
pub const OCRNL : :: tcflag_t = 0x10 ;
542
545
543
546
f ! {
Original file line number Diff line number Diff line change @@ -463,8 +463,6 @@ pub const NOTE_TRACK: ::uint32_t = 0x00000001;
463
463
pub const NOTE_TRACKERR : :: uint32_t = 0x00000002 ;
464
464
pub const NOTE_CHILD : :: uint32_t = 0x00000004 ;
465
465
466
- pub const CRTSCTS : :: tcflag_t = 0x00010000 ;
467
-
468
466
pub const TMP_MAX : :: c_uint = 308915776 ;
469
467
470
468
pub const NI_MAXHOST : :: socklen_t = 1025 ;
@@ -644,6 +642,9 @@ pub const P_PGID: idtype_t = 4;
644
642
pub const B460800 : :: speed_t = 460800 ;
645
643
pub const B921600 : :: speed_t = 921600 ;
646
644
645
+ pub const CDTRCTS : :: tcflag_t = 0x00020000 ;
646
+ pub const CHWFLOW : :: tcflag_t = :: MDMBUF | :: CRTSCTS | :: CDTRCTS ;
647
+
647
648
// dirfd() is a macro on netbsd to access
648
649
// the first field of the struct where dirp points to:
649
650
// http://cvsweb.netbsd.org/bsdweb.cgi/src/include/dirent.h?rev=1.36
Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ pub const KI_WMESGLEN: ::c_int = 8;
460
460
pub const KI_MAXLOGNAME : :: c_int = 32 ;
461
461
pub const KI_EMULNAMELEN : :: c_int = 8 ;
462
462
463
+ pub const CHWFLOW : :: tcflag_t = :: MDMBUF | :: CRTSCTS ;
463
464
pub const OLCUC : :: tcflag_t = 0x20 ;
464
465
pub const ONOCR : :: tcflag_t = 0x40 ;
465
466
pub 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);
734
734
735
735
pub const SIGEV_THREAD_ID : :: c_int = 4 ;
736
736
737
+ pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
738
+ pub const CIBAUD : :: tcflag_t = 0o02003600000 ;
739
+ pub const CBAUDEX : :: tcflag_t = 0o010000 ;
740
+
737
741
f ! {
738
742
pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
739
743
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;
443
443
pub const NLA_F_NET_BYTEORDER : :: c_int = 1 << 14 ;
444
444
pub const NLA_TYPE_MASK : :: c_int = !( NLA_F_NESTED | NLA_F_NET_BYTEORDER ) ;
445
445
446
+ pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
447
+
446
448
cfg_if ! {
447
449
if #[ cfg( any( target_arch = "arm" , target_arch = "x86" ,
448
450
target_arch = "x86_64" ) ) ] {
You can’t perform that action at this time.
0 commit comments