PyDocs

Nav

Generic Operating System Services

openpty

os

functionUnixnot WASI
  • openpty()
Open a pseudo-terminal.

Return a tuple of (master_fd, slave_fd) containing open file descriptors
for both the master and slave ends.
Changed in 3.4
  • 3.4: The new file descriptors are now non-inheritable.
0 Examples
No examples for os/openpty.
See Also
No see-alsos for os/openpty
0 Notes
No notes for openpty