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

pub fn ttyname<'f, Fd: AsFd<'f>>(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.