Add the TIOCGWINSZ and TIOCSWINSZ constants

This commit is contained in:
Severen Redwood 2016-05-19 22:45:38 +12:00 committed by Raphael Cohn
parent a2d2b0cbe6
commit fa53abb748

View file

@ -669,6 +669,9 @@ pub const LOG_SECURITY: ::c_int = 13 << 3;
pub const LOG_CONSOLE: ::c_int = 14 << 3;
pub const LOG_NFACILITIES: ::c_int = 24;
pub const TIOCGWINSZ: ::c_ulong = 0x40087468;
pub const TIOCSWINSZ: ::c_ulong = 0x80087467;
#[link(name = "util")]
extern {
pub fn getnameinfo(sa: *const ::sockaddr,