title: Difference between lstat fstat and stat in C
body: <p>Im writing a school assignment in C to search through a file system for directories, regular files and symlinks. For now i use <code>lstat</code> to get information about items.</p>
  
  <p>So whats the difference between <code>lstat</code> <code>fstat</code> and <code>stat</code> system calls?</p>