Acquire this terminal as the controlling terminal.
impl Tty {
fn acquire(&self, steal: bool) -> Result<(), Errno>
}| Name | Description |
|---|---|
| steal | Whether to steal this terminal if it's already a controlling terminal of another session. |
tty_ioctl(4) and TIOCSCTTY therein