Creates a new pseudo terminal.
impl Tty { fn new_pty(flags: FileFlags) -> Result<Tty, Errno> }
Flags used for opening the master.
Returns the master.
pty(7)