Returns the id of this pseudo terminal.
impl Tty { fn pty_id(&self) -> Result<u32, Errno> }
The slave can be found under /dev/pts/{id}.
/dev/pts/{id}
tty_ioctl(4) and TIOCGPTN therein