#include <sys/types.h> #include <sys/stat.h> int lstat( int fildes, struct stat *buf );
The lstat()
function obtains information about the file
associated with fildes
and writes it to the area pointed
to by the buf
argument.
If the filesystem object referred to by fildes
is a
link, then the information returned in buf
refers
to the link itself. This is in contrast to fstat()
which follows the link.
The lstat()
routine is defined by BSD 4.3 and SVR4
and not included in POSIX 1003.1b-1996.
Copyright © 1988-2004 OAR Corporation