Glibc uses 'restrict' for these functions Let's use it here too. ============================= envz_add string/envz.h:49: error_t envz_add (char **restrict envz, size_t *restrict envz_len, const char *restrict name, const char *restrict value) THROW; ============================= envz_entry string/envz.h:33: char *envz_entry (const char *restrict envz, size_t envz_len, const char *restrict name) THROW attribute_pure__; ============================= envz_get string/envz.h:39: char *envz_get (const char *restrict envz, size_t envz_len, const char *restrict name) THROW attribute_pure__; ============================= envz_merge string/envz.h:57: error_t envz_merge (char **restrict envz, size_t *restrict envz_len, const char *restrict envz2, size_t envz2_len, int override) THROW; ============================= envz_remove string/envz.h:63: void envz_remove (char **restrict envz, size_t *restrict envz_len, const char *restrict name) THROW; ============================= envz_strip string/envz.h:68: void envz_strip (char **restrict envz, size_t *restrict envz_len) THROW; Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/envz_add.3 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/man3/envz_add.3 b/man3/envz_add.3 index 23a7a1fe1..cfb56b478 100644 --- a/man3/envz_add.3 +++ b/man3/envz_add.3 @@ -15,23 +15,24 @@ envz_remove, envz_strip \- environment string support .nf .B "#include <envz.h>" .PP -.BI "error_t envz_add(char **" envz ", size_t *" envz_len , -.BI " const char *" name ", const char *" value ); +.BI "error_t envz_add(char **restrict " envz ", size_t *restrict " envz_len , +.BI " const char *restrict " name \ +", const char *restrict " value ); .PP -.BI "char *envz_entry(const char *" envz ", size_t " envz_len \ -", const char *" name ); +.BI "char *envz_entry(const char *restrict " envz ", size_t " envz_len , +.BI " const char *restrict " name ); .PP -.BI "char *envz_get(const char *" envz ", size_t " envz_len \ -", const char *" name ); +.BI "char *envz_get(const char *restrict " envz ", size_t " envz_len , +.BI " const char *restrict " name ); .PP -.BI "error_t envz_merge(char **" envz ", size_t *" envz_len , -.BI " const char *" envz2 ", size_t " envz2_len \ -", int " override ); +.BI "error_t envz_merge(char **restrict " envz ", size_t *restrict " envz_len , +.BI " const char *restrict " envz2 ", size_t " envz2_len , +.BI " int " override ); .PP -.BI "void envz_remove(char **" envz ", size_t *" envz_len \ -", const char *" name ); +.BI "void envz_remove(char **restrict " envz ", size_t *restrict " envz_len , +.BI " const char *restrict " name ); .PP -.BI "void envz_strip(char **" envz ", size_t *" envz_len ); +.BI "void envz_strip(char **restrict " envz ", size_t *restrict " envz_len ); .fi .SH DESCRIPTION These functions are glibc-specific. -- 2.30.1.721.g45526154a5