Hi Michael, This are the first pages of man3 with 'restrict'. I'm sending you these already, becuase otherwise I'd accumulate too many patches in the end. I have fixed from the first page until ftw.3. Spin off: I found different terms for parameters that refer to a same thing in different functions (usually a '[const] char *'): - filename - file - path - pathname - Maybe others; I don't know For 'FILE *' we have more or less the same, although this one is much more standard (>90% use 'stream'): - stream - streamp - s - fp - file - filehandle - A few others in specific cases What would you do about it? Thanks, Alex --- I'll copy here the commands again to find them easily next time. For reading the man_pages SYNOPSIS: .../linux/man-pages$ man_section man2 SYNOPSIS |less; For reading the glibc prototypes: .../gnu/glibc$ man_lsfunc ../../linux/man-pages/man2 \ |while read -r syscall; do echo "============================= ${syscall}"; grep_glibc_prototype ${syscall}; done \ |sed -e 's/\bextern //' -e 's/\b_*//g' \ |less; --- Alejandro Colomar (20): argz_add.3: SYNOPSIS: Use 'restrict' in prototypes asprintf.3: SYNOPSIS: Use 'restrict' in prototypes memccpy.3: SYNOPSIS: Use 'restrict' in prototypes memcpy.3: SYNOPSIS: Use 'restrict' in prototypes crypt.3: SYNOPSIS: Use 'restrict' in prototypes ctime.3: SYNOPSIS: Use 'restrict' in prototypes ctime.3: SYNOPSIS: Use 'restrict' in prototypes dlinfo.3: SYNOPSIS: Use 'restrict' in prototypes dlsym.3: SYNOPSIS: Use 'restrict' in prototypes; add missing 'const' too drand48_r.3: SYNOPSIS: Use 'restrict' in prototypes ecvt_r.3: SYNOPSIS: Use 'restrict' in prototypes ecvt.3: SYNOPSIS: Use 'restrict' in prototypes envz_add.3: SYNOPSIS: Use 'restrict' in prototypes fgetc.3: SYNOPSIS: Use 'restrict' in prototypes fgetws.3: SYNOPSIS: Use 'restrict' in prototypes fopencookie.3: SYNOPSIS: Use 'restrict' in prototypes fopen.3: SYNOPSIS: Use 'restrict' in prototypes fputws.3: SYNOPSIS: Use 'restrict' in prototypes fread.3: SYNOPSIS: Use 'restrict' in prototypes fseek.3: SYNOPSIS: Use 'restrict' in prototypes man3/argz_add.3 | 41 +++++++++++++++++++++++------------------ man3/asprintf.3 | 5 +++-- man3/crypt.3 | 2 +- man3/ctime.3 | 16 ++++++++++++---- man3/dlinfo.3 | 3 ++- man3/dlsym.3 | 5 +++-- man3/drand48_r.3 | 22 ++++++++++++++-------- man3/ecvt.3 | 6 ++++-- man3/ecvt_r.3 | 18 ++++++++++-------- man3/envz_add.3 | 25 +++++++++++++------------ man3/fgetc.3 | 2 +- man3/fgetws.3 | 3 ++- man3/fopen.3 | 7 +++++-- man3/fopencookie.3 | 2 +- man3/fputws.3 | 2 +- man3/fread.3 | 9 +++++---- man3/fseek.3 | 2 +- man3/memccpy.3 | 3 ++- man3/memcpy.3 | 3 ++- 19 files changed, 105 insertions(+), 71 deletions(-) -- 2.30.1.721.g45526154a5