pub fn readlinkat<P: ?Sized + NixPath>( dirfd: Option<RawFd>, path: &P, ) -> Result<OsString>
Read value of a symbolic link.
Equivalent to readlink except where path specifies a relative path. In that case, interpret path relative to open file specified by dirfd.
readlink
path
dirfd