summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/linux/musl.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-01-11 13:04:28 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-01-11 13:04:28 -0800
commit6cf54d553f844be4a1d1c0dd96f00e01029cfa08 (patch)
treea7e9c74927e4ae0aaf33f585aa86eb8bccf0f76b /src/unix/notbsd/linux/musl.rs
parent2d0593028bc711583ada5ed9a31e51e687f63bd8 (diff)
downloadrust-libc-6cf54d553f844be4a1d1c0dd96f00e01029cfa08.tar.gz
Fix constant values for MIPS
Diffstat (limited to 'src/unix/notbsd/linux/musl.rs')
-rw-r--r--src/unix/notbsd/linux/musl.rs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/musl.rs b/src/unix/notbsd/linux/musl.rs
index 1f1aff2a74..f9cf4e96a8 100644
--- a/src/unix/notbsd/linux/musl.rs
+++ b/src/unix/notbsd/linux/musl.rs
@@ -427,6 +427,38 @@ pub const TCSANOW: ::c_int = 0;
pub const TCSADRAIN: ::c_int = 1;
pub const TCSAFLUSH: ::c_int = 2;
+pub const TCGETS: ::c_ulong = 0x5401;
+pub const TCSETS: ::c_ulong = 0x5402;
+pub const TCSETSW: ::c_ulong = 0x5403;
+pub const TCSETSF: ::c_ulong = 0x5404;
+pub const TCGETA: ::c_ulong = 0x5405;
+pub const TCSETA: ::c_ulong = 0x5406;
+pub const TCSETAW: ::c_ulong = 0x5407;
+pub const TCSETAF: ::c_ulong = 0x5408;
+pub const TCSBRK: ::c_ulong = 0x5409;
+pub const TCXONC: ::c_ulong = 0x540A;
+pub const TCFLSH: ::c_ulong = 0x540B;
+pub const TIOCGSOFTCAR: ::c_ulong = 0x5419;
+pub const TIOCSSOFTCAR: ::c_ulong = 0x541A;
+pub const TIOCINQ: ::c_ulong = 0x541B;
+pub const TIOCLINUX: ::c_ulong = 0x541C;
+pub const TIOCGSERIAL: ::c_ulong = 0x541E;
+pub const TIOCEXCL: ::c_ulong = 0x540C;
+pub const TIOCNXCL: ::c_ulong = 0x540D;
+pub const TIOCSCTTY: ::c_ulong = 0x540E;
+pub const TIOCGPGRP: ::c_ulong = 0x540F;
+pub const TIOCSPGRP: ::c_ulong = 0x5410;
+pub const TIOCOUTQ: ::c_ulong = 0x5411;
+pub const TIOCSTI: ::c_ulong = 0x5412;
+pub const TIOCGWINSZ: ::c_ulong = 0x5413;
+pub const TIOCSWINSZ: ::c_ulong = 0x5414;
+pub const TIOCMGET: ::c_ulong = 0x5415;
+pub const TIOCMBIS: ::c_ulong = 0x5416;
+pub const TIOCMBIC: ::c_ulong = 0x5417;
+pub const TIOCMSET: ::c_ulong = 0x5418;
+pub const FIONREAD: ::c_ulong = 0x541B;
+pub const TIOCCONS: ::c_ulong = 0x541D;
+
extern {
pub fn getnameinfo(sa: *const ::sockaddr,
salen: ::socklen_t,