Function otter_api_tests::unistd::ttyname [−]
pub fn ttyname(fd: i32) -> Result<PathBuf, Error>
Expand description
Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).
pub fn ttyname(fd: i32) -> Result<PathBuf, Error>
Get the name of the terminal device that is open on file descriptor fd
(see ttyname(3)
).