Function posish::io::ttyname[][src]

pub fn ttyname<Fd: AsFd>(dirfd: &Fd, reuse: OsString) -> Result<OsString>
Expand description

ttyname_r(fd)

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