Next: readlink
, Previous: readdir
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
readdir_r
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir_r.html
Gnulib module: extensions
Portability problems fixed by Gnulib:
readdir
.
_POSIX_PTHREAD_SEMANTICS
is not defined).
Portability problems not fixed by Gnulib:
off_t
is a 32-bit type, this function may not
work correctly on huge directories larger than 2 GB. Also, on platforms
where ino_t
is a 32-bit type, this function may report inode numbers
incorrectly. This can occur with file systems such as XFS (typically on
large disks) and NFS. The fix is to use the AC_SYS_LARGEFILE
macro.