Function grantpt
pub fn grantpt<Fd>(fd: Fd) -> Result<(), Errno> ⓘwhere
Fd: AsFd,
Available on crate feature
dep_rustix
only.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.