pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>(
    dirfd: Fd,
    reuse: B
) -> Result<CString>
Expand description

ttyname_r(fd)

If reuse is non-empty, reuse its buffer to store the result if possible.

References