5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/lstat.html}
9 Portability problems fixed by Gnulib:
12 On platforms where @code{off_t} is a 32-bit type, @code{lstat} may not
13 correctly report the size of files or block devices larger than 2 GB.
14 (Cf. @code{AC_SYS_LARGEFILE}.)
16 On Linux/x86 and Linux/x86_64, applications compiled in 32-bit mode cannot
17 access files that happen to have a 64-bit inode number. This can occur with
18 file systems such as XFS (typically on large disks) and NFS.
19 (Cf. @code{AC_SYS_LARGEFILE}.)
21 For symlinks, when the argument ends in a slash, some platforms don't
22 dereference the argument:
25 On some platforms, @code{lstat("file/",buf)} succeeds instead of
26 failing with @code{ENOTDIR}.
27 Mac OS X 10.13, Solaris 9.
29 On Solaris 11.4, when this function yields a timestamp with a
30 nonpositive @code{tv_sec} value, @code{tv_nsec} might be in the range
31 @minus{}1000000000..@minus{}1, representing a negative nanoseconds
32 offset from @code{tv_sec}.
34 On Windows platforms (excluding Cygwin), symlinks are not supported, so
35 @code{lstat} does not exist.
38 Portability problems not fixed by Gnulib:
41 @xref{sys/stat.h}, for general portability problems with @code{struct stat}.