Function nix::pty::unlockpt [−][src]
pub fn unlockpt(fd: &PtyMaster) -> Result<()>
Expand description
Unlock a pseudoterminal master/slave pseudoterminal pair (see
unlockpt(3))
unlockpt() unlocks the slave pseudoterminal device corresponding to the master pseudoterminal
referred to by fd. This must be called before trying to open the slave side of a
pseuoterminal.