Skip to content

Commit 8a85d66

Browse files
committed
Auto merge of #1014 - Susurrus:termios_sparc64, r=alexcrichton
Add some termios constants for sparc64
2 parents 575832d + 2aa3297 commit 8a85d66

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/unix/notbsd/linux/other/b64/sparc64.rs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ pub const SO_DONTROUTE: ::c_int = 16;
258258
pub const SO_BROADCAST: ::c_int = 32;
259259
pub const SO_SNDBUF: ::c_int = 0x1001;
260260
pub const SO_RCVBUF: ::c_int = 0x1002;
261+
pub const SO_SNDBUFFORCE: ::c_int = 0x100a;
262+
pub const SO_RCVBUFFORCE: ::c_int = 0x100b;
261263
pub const SO_DOMAIN: ::c_int = 0x1029;
262264
pub const SO_KEEPALIVE: ::c_int = 8;
263265
pub const SO_OOBINLINE: ::c_int = 0x100;
@@ -447,6 +449,41 @@ pub const FFDLY: ::tcflag_t = 0o100000;
447449
pub const VTDLY: ::tcflag_t = 0o040000;
448450
pub const XTABS: ::tcflag_t = 0o014000;
449451

452+
pub const B0: ::speed_t = 0o000000;
453+
pub const B50: ::speed_t = 0o000001;
454+
pub const B75: ::speed_t = 0o000002;
455+
pub const B110: ::speed_t = 0o000003;
456+
pub const B134: ::speed_t = 0o000004;
457+
pub const B150: ::speed_t = 0o000005;
458+
pub const B200: ::speed_t = 0o000006;
459+
pub const B300: ::speed_t = 0o000007;
460+
pub const B600: ::speed_t = 0o000010;
461+
pub const B1200: ::speed_t = 0o000011;
462+
pub const B1800: ::speed_t = 0o000012;
463+
pub const B2400: ::speed_t = 0o000013;
464+
pub const B4800: ::speed_t = 0o000014;
465+
pub const B9600: ::speed_t = 0o000015;
466+
pub const B19200: ::speed_t = 0o000016;
467+
pub const B38400: ::speed_t = 0o000017;
468+
pub const EXTA: ::speed_t = B19200;
469+
pub const EXTB: ::speed_t = B38400;
470+
pub const BOTHER: ::speed_t = 0x1000;
471+
pub const B57600: ::speed_t = 0x1001;
472+
pub const B115200: ::speed_t = 0x1002;
473+
pub const B230400: ::speed_t = 0x1003;
474+
pub const B460800: ::speed_t = 0x1004;
475+
pub const B76800: ::speed_t = 0x1005;
476+
pub const B153600: ::speed_t = 0x1006;
477+
pub const B307200: ::speed_t = 0x1007;
478+
pub const B614400: ::speed_t = 0x1008;
479+
pub const B921600: ::speed_t = 0x1009;
480+
pub const B500000: ::speed_t = 0x100a;
481+
pub const B576000: ::speed_t = 0x100b;
482+
pub const B1000000: ::speed_t = 0x100c;
483+
pub const B1152000: ::speed_t = 0x100d;
484+
pub const B1500000: ::speed_t = 0x100e;
485+
pub const B2000000: ::speed_t = 0x100f;
486+
450487
pub const VEOL: usize = 5;
451488
pub const VEOL2: usize = 6;
452489
pub const VMIN: usize = 4;

0 commit comments

Comments
 (0)