pub fn grantpt<Fd: AsFd>(fd: Fd) -> Result<()>Expand description
grantpt(fd)—Grant access to the user side of a pseudoterminal.
On Linux, calling this function has no effect, as the kernel is expected to
grant the appropriate access. On all other platforms, this function has
unspecified behavior if the calling process has a Signal::CHILD signal
handler installed.