readdir_r
=========

POSIX specification:
 https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir_r.html

Gnulib module: extensions

Portability problems fixed by Gnulib:

  * This function is planned to be removed from POSIX and to be deprecated in glibc.  Portable applications should use readdir.

  * This function has an incompatible declaration on some platforms: Solaris 11.4 (when _POSIX_PTHREAD_SEMANTICS is not defined).

  * On platforms where 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.  This can occur with file systems such as XFS (typically on large disks) and NFS.  See Large File Support.

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: Minix 3.1.8, mingw, MSVC 14.