[−][src]Function nix::pty::grantpt
pub fn grantpt(fd: &PtyMaster) -> Result<()>
Grant access to a slave pseudoterminal (see
grantpt(3)
)
grantpt()
changes the mode and owner of the slave pseudoterminal device corresponding to the
master pseudoterminal referred to by fd
. This is a necessary step towards opening the slave.