[][src]Function nix::pty::unlockpt

pub fn unlockpt(fd: &PtyMaster) -> Result<()>

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.