mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-11 10:53:42 +08:00
14 lines
247 B
C
14 lines
247 B
C
#include <config.h>
|
|
#include <sys/stat.h>
|
|
|
|
/* A trivial substitute for `lstat'.
|
|
|
|
DJGPP 2.03 and earlier don't have `lstat' and don't support
|
|
symlinks. */
|
|
|
|
int
|
|
lstat (const char *fname, struct stat *st_buf)
|
|
{
|
|
return stat (fname, st_buf);
|
|
}
|