title: Check if file is a symlink in Freepascal
body: <p>I'm reading various files and directories with the FindFirst / FindNext functions as described <a href="http://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html" rel="nofollow">here</a>. </p>
  
  <p>The only problem I have, is that I can't figure out if the file is a symlink. In the file attributes there is no constant or flag and I can't find a function for testing for symlinks.</p>