lstat (file)
file
Returns the same information as stat, but if file is a symbolic link, returns the status information for the link.
stat
Copyright © 2001 O'Reilly & Associates. All rights reserved.