Pike v8.0 release 1738

Method Stdio.Fd()->grantpt()


Method grantpt

string grantpt()

Description

If this file has been created by calling openpt(), return the filename of the associated pts-file. This function should only be called once.

Returns

Returns the filename of the corresponding pts.

Note

This function is only available on some platforms.