POSIX.1-2001 and glibc use 'restrict' for these functions. Let's use it here too. glibc: ============================= ecvt stdlib/stdlib.h:872: char *ecvt (double value, int ndigit, int *restrict decpt, int *restrict sign) THROW nonnull ((3, 4)) wur; ============================= fcvt stdlib/stdlib.h:878: char *fcvt (double value, int ndigit, int *restrict decpt, int *restrict sign) THROW nonnull ((3, 4)) wur; Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/ecvt.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man3/ecvt.3 b/man3/ecvt.3 index ec4a4b6fc..8d53b1287 100644 --- a/man3/ecvt.3 +++ b/man3/ecvt.3 @@ -36,8 +36,10 @@ ecvt, fcvt \- convert a floating-point number to a string .nf .B #include <stdlib.h> .PP -.BI "char *ecvt(double " number ", int " ndigits ", int *" decpt ", int *" sign ); -.BI "char *fcvt(double " number ", int " ndigits ", int *" decpt ", int *" sign ); +.BI "char *ecvt(double " number ", int " ndigits ", int *restrict " decpt , +.BI " int *restrict " sign ); +.BI "char *fcvt(double " number ", int " ndigits ", int *restrict " decpt , +.BI " int *restrict " sign ); .fi .PP .RS -4 -- 2.30.1.721.g45526154a5