rustix::fs

Function readlinkat

Source
pub fn readlinkat<P: Arg, Fd: AsFd, B: Into<Vec<u8>>>(
    dirfd: Fd,
    path: P,
    reuse: B,
) -> Result<CString>
Expand description

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

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

§References