summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-25 21:32:02 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 03:01:30 +0200
commitbb7b70be6af09a2c8b0cb60379d519a1d9f8cff0 (patch)
treee79ad6a8f61e379b5607a6d3510e71abc5286447
parentece9db52e93e334957db34a90dbdf51bc058d22b (diff)
readdir_r.3: SYNOPSIS: Mark as [[deprecated]]
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>
-rw-r--r--man3/readdir_r.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/readdir_r.3 b/man3/readdir_r.3
index f5a97da62..2e2512641 100644
--- a/man3/readdir_r.3
+++ b/man3/readdir_r.3
@@ -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