Method lrs::tty::Tty::pty_id

Returns the id of this pseudo terminal.

Syntax

impl Tty {
    fn pty_id(&self) -> Result<u32, Errno>
}

Remarks

The slave can be found under /dev/pts/{id}.

See also