File tree Expand file tree Collapse file tree 12 files changed +29
-15
lines changed Expand file tree Collapse file tree 12 files changed +29
-15
lines changed Original file line number Diff line number Diff line change @@ -1719,8 +1719,6 @@ pub const TIOCGETD: ::c_ulong = 0x4004741a;
1719
1719
pub const TIOCSETD : :: c_ulong = 0x8004741b ;
1720
1720
pub const TIOCIXON : :: c_uint = 0x20007481 ;
1721
1721
pub const TIOCIXOFF : :: c_uint = 0x20007480 ;
1722
- pub const TIOCSBRK : :: c_uint = 0x2000747b ;
1723
- pub const TIOCCBRK : :: c_uint = 0x2000747a ;
1724
1722
pub const TIOCSDTR : :: c_uint = 0x20007479 ;
1725
1723
pub const TIOCCDTR : :: c_uint = 0x20007478 ;
1726
1724
pub const TIOCGPGRP : :: c_ulong = 0x40047477 ;
Original file line number Diff line number Diff line change @@ -1014,8 +1014,6 @@ pub const TIOCSPGRP: ::c_ulong = 0x80047476;
1014
1014
pub const TIOCGPGRP : :: c_uint = 0x40047477 ;
1015
1015
pub const TIOCCDTR : :: c_uint = 0x20007478 ;
1016
1016
pub const TIOCSDTR : :: c_uint = 0x20007479 ;
1017
- pub const TIOCCBRK : :: c_uint = 0x2000747a ;
1018
- pub const TIOCSBRK : :: c_uint = 0x2000747b ;
1019
1017
pub const TTYDISC : :: c_int = 0x0 ;
1020
1018
pub const SLIPDISC : :: c_int = 0x4 ;
1021
1019
pub const PPPDISC : :: c_int = 0x5 ;
Original file line number Diff line number Diff line change @@ -450,6 +450,9 @@ pub const BIOCGHDRCMPLT: ::c_ulong = 0x40044274;
450
450
pub const BIOCSHDRCMPLT : :: c_ulong = 0x80044275 ;
451
451
pub const SIOCGIFADDR : :: c_ulong = 0xc0206921 ;
452
452
453
+ pub const TIOCCBRK : :: c_uint = 0x2000747a ;
454
+ pub const TIOCSBRK : :: c_uint = 0x2000747b ;
455
+
453
456
f ! {
454
457
pub fn CMSG_FIRSTHDR ( mhdr: * const :: msghdr) -> * mut :: cmsghdr {
455
458
if ( * mhdr) . msg_controllen as usize >= :: mem:: size_of:: <:: cmsghdr>( ) {
Original file line number Diff line number Diff line change @@ -237,6 +237,9 @@ pub const PTRACE_SETFPREGS: ::c_uint = 15;
237
237
pub const PTRACE_GETREGS : :: c_uint = 12 ;
238
238
pub const PTRACE_SETREGS : :: c_uint = 13 ;
239
239
240
+ pub const TIOCSBRK : :: c_int = 0x5427 ;
241
+ pub const TIOCCBRK : :: c_int = 0x5428 ;
242
+
240
243
#[ link( name = "util" ) ]
241
244
extern "C" {
242
245
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -212,11 +212,6 @@ pub const RTLD_DEEPBIND: ::c_int = 0x8;
212
212
pub const RTLD_GLOBAL : :: c_int = 0x100 ;
213
213
pub const RTLD_NOLOAD : :: c_int = 0x4 ;
214
214
215
- pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
216
- pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
217
- pub const TIOCGRS485 : :: c_int = 0x542E ;
218
- pub const TIOCSRS485 : :: c_int = 0x542F ;
219
-
220
215
pub const RLIMIT_RSS : :: __rlimit_resource_t = 5 ;
221
216
pub const RLIMIT_AS : :: __rlimit_resource_t = 9 ;
222
217
pub const RLIMIT_MEMLOCK : :: __rlimit_resource_t = 8 ;
@@ -444,7 +439,13 @@ pub const TIOCMGET: ::c_ulong = 0x5415;
444
439
pub const TIOCMBIS : :: c_ulong = 0x5416 ;
445
440
pub const TIOCMBIC : :: c_ulong = 0x5417 ;
446
441
pub const TIOCMSET : :: c_ulong = 0x5418 ;
442
+ pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
443
+ pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
447
444
pub const TIOCCONS : :: c_ulong = 0x541D ;
445
+ pub const TIOCSBRK : :: c_ulong = 0x5427 ;
446
+ pub const TIOCCBRK : :: c_ulong = 0x5428 ;
447
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
448
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
448
449
449
450
pub const TIOCM_ST : :: c_int = 0x008 ;
450
451
pub const TIOCM_SR : :: c_int = 0x010 ;
Original file line number Diff line number Diff line change @@ -871,6 +871,8 @@ pub const TCSETAF: ::c_ulong = 0x5404;
871
871
pub const TCSBRK : :: c_ulong = 0x5405 ;
872
872
pub const TCXONC : :: c_ulong = 0x5406 ;
873
873
pub const TCFLSH : :: c_ulong = 0x5407 ;
874
+ pub const TIOCSBRK : :: c_ulong = 0x5427 ;
875
+ pub const TIOCCBRK : :: c_ulong = 0x5428 ;
874
876
pub const TIOCGSOFTCAR : :: c_ulong = 0x5481 ;
875
877
pub const TIOCSSOFTCAR : :: c_ulong = 0x5482 ;
876
878
pub const TIOCINQ : :: c_ulong = 0x467f ;
Original file line number Diff line number Diff line change @@ -438,6 +438,8 @@ pub const TIOCMBIS: ::c_ulong = 0x5416;
438
438
pub const TIOCMBIC : :: c_ulong = 0x5417 ;
439
439
pub const TIOCMSET : :: c_ulong = 0x5418 ;
440
440
pub const TIOCCONS : :: c_ulong = 0x541D ;
441
+ pub const TIOCSBRK : :: c_ulong = 0x5427 ;
442
+ pub const TIOCCBRK : :: c_ulong = 0x5428 ;
441
443
pub const TIOCGRS485 : :: c_int = 0x542E ;
442
444
pub const TIOCSRS485 : :: c_int = 0x542F ;
443
445
Original file line number Diff line number Diff line change @@ -572,6 +572,8 @@ pub const TIOCMBIC: ::c_ulong = 0x5417;
572
572
pub const TIOCMSET : :: c_ulong = 0x5418 ;
573
573
pub const FIONREAD : :: c_ulong = 0x541B ;
574
574
pub const TIOCCONS : :: c_ulong = 0x541D ;
575
+ pub const TIOCSBRK : :: c_ulong = 0x5427 ;
576
+ pub const TIOCCBRK : :: c_ulong = 0x5428 ;
575
577
576
578
pub const TCSANOW : :: c_int = 0 ;
577
579
pub const TCSADRAIN : :: c_int = 1 ;
Original file line number Diff line number Diff line change @@ -412,13 +412,15 @@ pub const TIOCLINUX: ::c_ulong = 0x541C;
412
412
pub const TIOCGSERIAL : :: c_ulong = 0x541E ;
413
413
pub const TIOCEXCL : :: c_ulong = 0x2000740d ;
414
414
pub const TIOCNXCL : :: c_ulong = 0x2000740e ;
415
- pub const TIOCSCTTY : :: c_ulong = 0x20007484 ;
416
- pub const TIOCSTI : :: c_ulong = 0x80017472 ;
415
+ pub const TIOCCONS : :: c_ulong = 0x20007424 ;
417
416
pub const TIOCMGET : :: c_ulong = 0x4004746a ;
418
- pub const TIOCMBIS : :: c_ulong = 0x8004746c ;
419
417
pub const TIOCMBIC : :: c_ulong = 0x8004746b ;
418
+ pub const TIOCMBIS : :: c_ulong = 0x8004746c ;
420
419
pub const TIOCMSET : :: c_ulong = 0x8004746d ;
421
- pub const TIOCCONS : :: c_ulong = 0x20007424 ;
420
+ pub const TIOCSTI : :: c_ulong = 0x80017472 ;
421
+ pub const TIOCCBRK : :: c_ulong = 0x2000747a ;
422
+ pub const TIOCSBRK : :: c_ulong = 0x2000747b ;
423
+ pub const TIOCSCTTY : :: c_ulong = 0x20007484 ;
422
424
423
425
pub const TIOCM_ST : :: c_int = 0x008 ;
424
426
pub const TIOCM_SR : :: c_int = 0x010 ;
Original file line number Diff line number Diff line change @@ -835,6 +835,8 @@ pub const TIOCOUTQ: ::c_ulong = 0x5411;
835
835
pub const TIOCGWINSZ : :: c_ulong = 0x5413 ;
836
836
pub const TIOCSWINSZ : :: c_ulong = 0x5414 ;
837
837
pub const FIONREAD : :: c_ulong = 0x541B ;
838
+ pub const TIOCSBRK : :: c_ulong = 0x5427 ;
839
+ pub const TIOCCBRK : :: c_ulong = 0x5428 ;
838
840
839
841
// offsets in user_regs_structs, from sys/reg.h
840
842
pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments