pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>( dirfd: Fd, reuse: B) -> Result<CString>
ttyname_r(fd)
If reuse is non-empty, reuse its buffer to store the result if possible.
reuse