Grant access to the slave pseudo-terminal device. fd File descriptor of a master pseudo-terminal device. Performs a grantpt() C function call.
os/grantpt
grantpt