Function rustix::termios::ttyname

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

ttyname_r(fd)

If reuse already has available capacity, reuse it if possible.

§References