pub fn ttyname<F: AsFd>(fd: F) -> Result<PathBuf>
Available on crate feature
term
only.Expand description
Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).
pub fn ttyname<F: AsFd>(fd: F) -> Result<PathBuf>
term
only.Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).