Next: scanf
, Previous: scalbnl
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
scandir
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/scandir.html
Gnulib module: scandir
Portability problems fixed by Gnulib:
off_t
is a 32-bit type, this function may not
work correctly on huge directories 2 GiB and larger. Also, on platforms
where ino_t
is a 32-bit type, this function may report inode numbers
incorrectly. See Large File Support.
Portability problems not fixed by Gnulib:
int (*) (const void *, const void *)
on some platforms:
glibc 2.3.6, macOS 10.7, FreeBSD 6.0, NetBSD 7.1, OpenBSD 6.7.
int (*) (void *, void *)
on some platforms:
AIX 5.1.