view doc/posix-functions/readdir_r.texi @ 19242:11af6bbd6df5

doc: Update for Solaris 11.3. * doc/**/*.texi: For bugs that exist in both Solaris 11.0 and 11.3, mention Solaris 11.3. * m4/log2.m4: Fix comments. * m4/log2f.m4: Likewise. * m4/printf.m4: Update comments. * m4/rename.m4: Likewise. * m4/strncat.m4: Likewise.
author Bruno Haible <bruno@clisp.org>
date Thu, 12 Oct 2017 23:18:12 +0200
parents fc8be28143d4
children d4661c7ea0d0
line wrap: on
line source

@node readdir_r
@section @code{readdir_r}
@findex readdir_r

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/readdir_r.html}

Gnulib module: extensions

Portability problems fixed by Gnulib:
@itemize
@item
This function is planned to be removed from POSIX and to be deprecated
in glibc.  Portable applications should use @code{readdir}.
@item
This function has an incompatible declaration on some platforms:
Solaris 11.3 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, mingw, MSVC 14, BeOS.
@item
On platforms where @code{off_t} is a 32-bit type, this function may not
work correctly on huge directories larger than 2 GB.  Also, on platforms
where @code{ino_t} is a 32-bit type, this function may report inode numbers
incorrectly.  The fix is to use the @code{AC_SYS_LARGEFILE} macro.
@end itemize