1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-functions/readdir_r.texi
Paul Eggert 53348f290e readdir_r: now obsolescent
* doc/posix-functions/readdir_r.texi (readdir_r): Now obsolescent.
* lib/mountlist.c (read_file_system_list): Add a FIXME.
2016-02-08 18:46:18 -08:00

30 lines
975 B
Plaintext

@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 2011-11 (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 9, 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