Difference between lstat fstat and stat in C
I was also searching for stat vs lstat vs fstat and although there is already an answer to this question, I’d like to see it formatted like that: lstat() is identical to stat(), except that if pathname is a symbolic link, then it returns information about the link itself, not the file that it refers … Read more