pub fn openpty(
name: Option<&UnixStr>,
termios: Option<&Termios>,
winsize: Option<&WindowSize>
) -> Result<TerminalHandle>
Expand description
Attempts to open a pty returning the handles to it
Errors
Not many errors can occur assuming that (None
, None
, None
) is passed and you have
appropriate permissions.
See the linux docs for the exceptions