Function std::old_io::fs::readlinkUnstable [-] [+] [src]

pub fn readlink(path: &Path) -> IoResult<Path>

Reads a symlink, returning the file that the symlink points to.

Error

This function will return an error on failure. Failure conditions include reading a file that does not exist or reading a file that is not a symlink.