File tree Expand file tree Collapse file tree 7 files changed +15
-0
lines changed Expand file tree Collapse file tree 7 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -490,6 +490,9 @@ pub const O_DIRECTORY: ::c_int = 0x10000;
490
490
pub const O_LARGEFILE : :: c_int = 0 ;
491
491
pub const O_NOFOLLOW : :: c_int = 0x20000 ;
492
492
493
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
494
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
495
+
493
496
pub const SIGSTKSZ : :: size_t = 8192 ;
494
497
pub const MINSIGSTKSZ : :: size_t = 2048 ;
495
498
Original file line number Diff line number Diff line change @@ -252,6 +252,8 @@ pub const TIOCSPGRP: ::c_ulong = 0x5410;
252
252
pub const TIOCOUTQ : :: c_ulong = 0x5411 ;
253
253
pub const TIOCGWINSZ : :: c_ulong = 0x5413 ;
254
254
pub const TIOCSWINSZ : :: c_ulong = 0x5414 ;
255
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
256
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
255
257
pub const FIONREAD : :: c_ulong = 0x541B ;
256
258
257
259
// Syscall table
Original file line number Diff line number Diff line change @@ -241,6 +241,8 @@ pub const TIOCSPGRP: ::c_ulong = 0x80047476;
241
241
pub const TIOCOUTQ : :: c_ulong = 0x40047473 ;
242
242
pub const TIOCGWINSZ : :: c_ulong = 0x40087468 ;
243
243
pub const TIOCSWINSZ : :: c_ulong = 0x80087467 ;
244
+ pub const TIOCGRS485 : :: c_int = 0x542e ;
245
+ pub const TIOCSRS485 : :: c_int = 0x542f ;
244
246
pub const FIONREAD : :: c_ulong = 0x4004667f ;
245
247
246
248
pub const SYS_restart_syscall : :: c_long = 0 ;
Original file line number Diff line number Diff line change @@ -458,6 +458,8 @@ pub const TIOCSPGRP: ::c_ulong = 0x5410;
458
458
pub const TIOCOUTQ : :: c_ulong = 0x5411 ;
459
459
pub const TIOCGWINSZ : :: c_ulong = 0x5413 ;
460
460
pub const TIOCSWINSZ : :: c_ulong = 0x5414 ;
461
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
462
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
461
463
pub const FIONREAD : :: c_ulong = 0x541B ;
462
464
463
465
// Syscall table
Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
147
147
148
148
pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
149
149
pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
150
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
151
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
150
152
151
153
pub const RLIMIT_NOFILE : :: c_int = 7 ;
152
154
pub const RLIMIT_NPROC : :: c_int = 6 ;
Original file line number Diff line number Diff line change @@ -344,6 +344,8 @@ pub const TIOCMBIS: ::c_ulong = 0x5416;
344
344
pub const TIOCMBIC : :: c_ulong = 0x5417 ;
345
345
pub const TIOCMSET : :: c_ulong = 0x5418 ;
346
346
pub const TIOCCONS : :: c_ulong = 0x541D ;
347
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
348
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
347
349
348
350
pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
349
351
Original file line number Diff line number Diff line change @@ -332,6 +332,8 @@ cfg_if! {
332
332
333
333
pub const TIOCGSOFTCAR : :: c_ulong = 0x5419 ;
334
334
pub const TIOCSSOFTCAR : :: c_ulong = 0x541A ;
335
+ pub const TIOCGRS485 : :: c_int = 0x542E ;
336
+ pub const TIOCSRS485 : :: c_int = 0x542F ;
335
337
336
338
pub const RLIMIT_NOFILE : :: c_int = 7 ;
337
339
pub const RLIMIT_NPROC : :: c_int = 6 ;
You can’t perform that action at this time.
0 commit comments