rustix::fs

Function readlinkat

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

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

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

§References