PyDocs

Nav

Generic Operating System Services

login_tty

os

function · Added in 3.11Unixnot WASI
  • login_tty(fd, /)
Prepare the tty of which fd is a file descriptor for a new login session.

Make the calling process a session leader; make the tty the
controlling tty, the stdin, the stdout, and the stderr of the
calling process; close fd.
0 Examples
No examples for os/login_tty.
See Also
No see-alsos for os/login_tty
0 Notes
No notes for login_tty