Add the TIOCGWINSZ and TIOCSWINSZ constants
This commit is contained in:
parent
a2d2b0cbe6
commit
fa53abb748
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue