Synchronous lstat. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
lstat
lstat()
stat()
Optional
Synchronous
lstat
.lstat()
is identical tostat()
, except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.