diff options
author | Ian Henry <ihenry@chef.io> | 2018-08-16 12:59:52 -0400 |
---|---|---|
committer | Ian Henry <ihenry@chef.io> | 2018-08-16 12:59:52 -0400 |
commit | a3c843bc7fcee60c652454b724f130a38498e48b (patch) | |
tree | 4092a8f741740258a19c29a394bf315f4f752c17 | |
parent | f31d0f7795bdee806381e30f4985e74b48ef5ab0 (diff) | |
download | rust-libc-a3c843bc7fcee60c652454b724f130a38498e48b.tar.gz |
Add TIOCGWINSZ accessor to solaris module
Signed-off-by: Ian Henry <ihenry@chef.io>
-rw-r--r-- | src/unix/solaris/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/solaris/mod.rs b/src/unix/solaris/mod.rs index f285191677..697f6b07f5 100644 --- a/src/unix/solaris/mod.rs +++ b/src/unix/solaris/mod.rs @@ -1195,6 +1195,9 @@ pub const PORT_SOURCE_FILE: ::c_int = 7; pub const PORT_SOURCE_POSTWAIT: ::c_int = 8; pub const PORT_SOURCE_SIGNAL: ::c_int = 9; +pub const TIOCGWINSZ: ::c_int = 0x5468; +pub const TIOCSWINSZ: ::c_int = 0x5467; + pub const EPOLLIN: ::c_int = 0x1; pub const EPOLLPRI: ::c_int = 0x2; pub const EPOLLOUT: ::c_int = 0x4; |