devela::_dep::rustix::fs

Function readlinkat

pub fn readlinkat<P, Fd, B>(
    dirfd: Fd,
    path: P,
    reuse: B,
) -> Result<CString, Errno> 
where P: Arg, Fd: AsFd, B: Into<Vec<u8>>,
Available on crate feature dep_rustix only.
Expand description

readlinkat(fd, path)—Reads the contents of a symlink.

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

§References