Both POSIX and glibc use 'restrict' in these functions. Let's use it here too. glibc: ============================= fread libio/stdio.h:651: size_t fread (void *restrict ptr, size_t size, size_t n, FILE *restrict stream) wur; ============================= fwrite libio/stdio.h:657: size_t fwrite (const void *restrict ptr, size_t size, size_t n, FILE *restrict s); Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/fread.3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man3/fread.3 b/man3/fread.3 index e3f34b7d1..2b59916c7 100644 --- a/man3/fread.3 +++ b/man3/fread.3 @@ -50,10 +50,11 @@ fread, fwrite \- binary stream input/output .nf .B #include <stdio.h> .PP -.BI "size_t fread(void *" ptr ", size_t " size ", size_t " nmemb \ -", FILE *" stream ); -.BI "size_t fwrite(const void *" ptr ", size_t " size ", size_t " nmemb , -.BI " FILE *" stream ); +.BI "size_t fread(void *restrict " ptr ", size_t " size ", size_t " nmemb , +.BI " FILE *restrict " stream ); +.BI "size_t fwrite(const void *restrict " ptr ", size_t " size \ +", size_t " nmemb , +.BI " FILE *restrict " stream ); .fi .SH DESCRIPTION The function -- 2.30.1.721.g45526154a5