Sign in Join
FPDoc Onlineexperiment

FileGetSymLinkTarget function

In unit sysutils

Get the target filename and size of a symlink.

Declaration

pascal
function FileGetSymLinkTarget(const FileName: UnicodeString; 
 out SymLinkRec: TUnicodeSymLinkRec)
: Boolean

Description

FileGetSymLinkTarget returns the target filename, size and attributes of a symbolic link in SymLinkRec. On unix-like systems, the filemode is also returned. The filename can be a relative filename, it will not be expanded.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.