Skip to content
Snippets Groups Projects
Commit c8ab9e18 authored by bors's avatar bors
Browse files

Auto merge of #957 - matttproud:support/netbsd/terminal-ioctl, r=alexcrichton

netbsdlike: add TIOCSCTTY and TIOCSWINSZ ioctls.

Include ioctl commands for becoming controlling tty and setting window
size.  This enables https://github.com/jwilm/alacritty to be built and
run on OpenBSD 6.3.  NetBSD and kin share the same command constants.
parents a7e78a78 22d078e6
No related branches found
No related tags found
No related merge requests found
......@@ -547,6 +547,8 @@ pub const TIOCMBIS: ::c_ulong = 0x8004746c;
pub const TIOCMSET: ::c_ulong = 0x8004746d;
pub const TIOCSTART: ::c_ulong = 0x2000746e;
pub const TIOCSTOP: ::c_ulong = 0x2000746f;
pub const TIOCSCTTY: ::c_ulong = 0x20007461;
pub const TIOCSWINSZ: ::c_ulong = 0x80087467;
pub const TIOCM_LE: ::c_int = 0o0001;
pub const TIOCM_DTR: ::c_int = 0o0002;
pub const TIOCM_RTS: ::c_int = 0o0004;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment