Glibc uses 'restrict' for these functions ============================= ecvt_r stdlib/stdlib.h:902: int ecvt_r (double value, int ndigit, int *restrict decpt, int *restrict sign, char *restrict buf, size_t len) THROW nonnull ((3, 4, 5)); ============================= fcvt_r stdlib/stdlib.h:905: int fcvt_r (double value, int ndigit, int *restrict decpt, int *restrict sign, char *restrict buf, size_t len) THROW nonnull ((3, 4, 5)); ============================= qecvt_r stdlib/stdlib.h:909: int qecvt_r (long double value, int ndigit, int *restrict decpt, int *restrict sign, char *restrict buf, size_t len) THROW nonnull ((3, 4, 5)); ============================= qfcvt_r stdlib/stdlib.h:913: int qfcvt_r (long double value, int ndigit, int *restrict decpt, int *restrict sign, char *restrict buf, size_t len) THROW nonnull ((3, 4, 5)); Let's use it here too. Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/ecvt_r.3 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/man3/ecvt_r.3 b/man3/ecvt_r.3 index f56197782..05689c8fc 100644 --- a/man3/ecvt_r.3 +++ b/man3/ecvt_r.3 @@ -34,15 +34,17 @@ ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- convert a floating-point number to a string .nf .B #include <stdlib.h> .PP -.BI "int ecvt_r(double " number ", int " ndigits ", int *" decpt , -.BI " int *" sign ", char *" buf ", size_t " len ); -.BI "int fcvt_r(double " number ", int " ndigits ", int *" decpt , -.BI " int *" sign ", char *" buf ", size_t " len ); +.BI "int ecvt_r(double " number ", int " ndigits ", int *restrict " decpt , +.BI " int *restrict " sign ", char *restrict " buf ", size_t " len ); +.BI "int fcvt_r(double " number ", int " ndigits ", int *restrict " decpt , +.BI " int *restrict " sign ", char *restrict " buf ", size_t " len ); .PP -.BI "int qecvt_r(long double " number ", int " ndigits ", int *" decpt , -.BI " int *" sign ", char *" buf ", size_t " len ); -.BI "int qfcvt_r(long double " number ", int " ndigits ", int *" decpt , -.BI " int *" sign ", char *" buf ", size_t " len ); +.BI "int qecvt_r(long double " number ", int " ndigits \ +", int *restrict " decpt , +.BI " int *restrict " sign ", char *restrict " buf ", size_t " len ); +.BI "int qfcvt_r(long double " number ", int " ndigits \ +", int *restrict " decpt , +.BI " int *restrict " sign ", char *restrict " buf ", size_t " len ); .fi .PP .RS -4 -- 2.30.1.721.g45526154a5