Glibc:
dirent/dirent.h:183:
extern int readdir_r (DIR *__restrict __dirp,
struct dirent *__restrict __entry,
struct dirent **__restrict __result)
__nonnull ((1, 2, 3)) __attribute_deprecated__;
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
.nf
.B #include <dirent.h>
.PP
-.BI "int readdir_r(DIR *restrict " dirp ", struct dirent *restrict " entry ,
-.BI " struct dirent **restrict " result );
+.BI "[[deprecated]] int readdir_r(DIR *restrict " dirp ,
+.BI " struct dirent *restrict " entry ,
+.BI " struct dirent **restrict " result );
.fi
.PP
.RS -4