Method lrs::tty::Tty::new_pty

Creates a new pseudo terminal.

Syntax

impl Tty {
    fn new_pty(flags: FileFlags) -> Result<Tty, Errno>
}

Arguments

NameDescription
flags

Flags used for opening the master.

Return value

Returns the master.

See also