]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
readdir_r.3: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Oct 2021 19:32:02 +0000 (21:32 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:01:30 +0000 (03:01 +0200)
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>
man3/readdir_r.3

index f5a97da62829c9090340bda6e13df5cb90690572..2e2512641161f0fb7712ed09433cfdb102a71f85 100644 (file)
@@ -13,8 +13,9 @@ Standard C library
 .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