glibc uses 'restrict' in getdirentries(). Let's use it here too. .../glibc$ grep_glibc_prototype getdirentries dirent/dirent.h:353: extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off_t *__restrict __basep) __THROW __nonnull ((2, 4)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/getdirentries.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/getdirentries.3 b/man3/getdirentries.3 index 0deff6371..9bba3cc4b 100644 --- a/man3/getdirentries.3 +++ b/man3/getdirentries.3 @@ -31,8 +31,8 @@ getdirentries \- get directory entries in a filesystem-independent format .nf .B #include <dirent.h> .PP -.BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " nbytes , -.BI " off_t *" basep ); +.BI "ssize_t getdirentries(int " fd ", char *restrict " buf ", size_t " nbytes , +.BI " off_t *restrict " basep ); .fi .PP .RS -4 -- 2.30.1.721.g45526154a5