Executes ioctl with the TIOCGEXCL option.
fn ioctl_tiocgexcl(fd: i32, exclusive: &mut bool) -> i32
The file descriptor on which to operate.
The required kernel version is 3.8.
tty_ioctl(2)