readlink
readlink |
Purpose
Get the value of a symbolic link.
Synopsis
function readlink(string|txt:fname):text
Argument
fname
|
A file name
|
Return value
Linked file name or an empty string if the file cannot be accessed.
Further information
This function can be applied to a symbolic link to get its value. The file name itself is returned if the provided file is not a symbolic link.
Related topics