[−][src]Function nix::unistd::ttyname
pub fn ttyname(fd: RawFd) -> Result<PathBuf>
Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).
pub fn ttyname(fd: RawFd) -> Result<PathBuf>
Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).