Returns whether exclusive mode is enabled.
impl Tty { fn exclusive(&self) -> Result<bool, Errno> }
The required kernel version is 3.8.
tty_ioctl(4) and TIOCGEXCL therein