You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ttyname and ttyname_r are basically ptsname that works on any TTY fds, not just those associated with a PTY slave device. The latter is a pretty useful portable alternative to ptsname_r.
The functions are found on basically every nix platform; see libc crate for details about a macOS compliance fix it has.
The text was updated successfully, but these errors were encountered:
POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/functions/ttyname.html
ttyname
andttyname_r
are basicallyptsname
that works on any TTY fds, not just those associated with a PTY slave device. The latter is a pretty useful portable alternative toptsname_r
.The functions are found on basically every nix platform; see
libc
crate for details about a macOS compliance fix it has.The text was updated successfully, but these errors were encountered: