Function nix::pty::grantpt [−][src]
Expand description
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.