summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-30 14:47:27 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 03:57:33 +0200
commit62c21b3ad52e836870fdf30d80b4fb19cbc221b2 (patch)
tree5a6b9e068b80c39a6f10df88230b7807d6c7c294
parentbd99e6b7c19384728cf41478e7142f9bcada0a2c (diff)
qecvt.3: SYNOPSIS: Mark q*cvt() as [[deprecated]]
Use snprintf(3) instead. Most Unix systems lack these functions. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/qecvt.312
1 files changed, 5 insertions, 7 deletions
diff --git a/man3/qecvt.3 b/man3/qecvt.3
index edd5fa6f1..be8ec228f 100644
--- a/man3/qecvt.3
+++ b/man3/qecvt.3
@@ -15,13 +15,11 @@ Standard C library
.nf
.B #include <stdlib.h>
.PP
-.BI "char *qecvt(long double " number ", int " ndigits \
-", int *restrict " decpt ,
-.BI " int *restrict " sign );
-.BI "char *qfcvt(long double " number ", int " ndigits \
-", int *restrict " decpt ,
-.BI " int *restrict " sign );
-.BI "char *qgcvt(long double " number ", int " ndigit ", char *" buf );
+.BI "[[deprecated]] char *qecvt(long double " number ", int " ndigits ,
+.BI " int *restrict " decpt ", int *restrict " sign );
+.BI "[[deprecated]] char *qfcvt(long double " number ", int " ndigits ,
+.BI " int *restrict " decpt ", int *restrict " sign );
+.BI "[[deprecated]] char *qgcvt(long double " number ", int " ndigit ", char *" buf );
.fi
.PP
.RS -4