PyDocs

Nav

Generic Operating System Services

ptsname

os

function · Added in 3.13Unixnot WASI
  • ptsname(fd, /)
Return the name of the slave pseudo-terminal device.

  fd
    File descriptor of a master pseudo-terminal device.

If the ptsname_r() C function is available, it is called;
otherwise, performs a ptsname() C function call.
0 Examples
No examples for os/ptsname.
See Also
No see-alsos for os/ptsname
0 Notes
No notes for ptsname