Method _Stdio.Fd()->openpt() class _Stdio.Fd Method openpt int openpt(string mode) Description Open the master end of a pseudo-terminal pair. Returns This function returns 1 for success, 0 otherwise. See also grantpt()