2 .\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl>
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\" This replaces an earlier man page written by Walter Harms
7 .\" <walter.harms@informatik.uni-oldenburg.de>.
9 .TH qecvt 3 (date) "Linux man-pages (unreleased)"
11 qecvt, qfcvt, qgcvt \- convert a floating-point number to a string
14 .RI ( libc ", " \-lc )
17 .B #include <stdlib.h>
19 .BI "[[deprecated]] char *qecvt(long double " number ", int " ndigits ,
20 .BI " int *restrict " decpt ", int *restrict " sign );
21 .BI "[[deprecated]] char *qfcvt(long double " number ", int " ndigits ,
22 .BI " int *restrict " decpt ", int *restrict " sign );
23 .BI "[[deprecated]] char *qgcvt(long double " number ", int " ndigit ", char *" buf );
27 Feature Test Macro Requirements for glibc (see
28 .BR feature_test_macros (7)):
37 In glibc up to and including 2.19:
40 .\" FIXME . The full FTM picture looks to have been something like the
44 .\" glibc 2.18 to glibc 2.19
45 .\" _BSD_SOURCE || _SVID_SOURCE
46 .\" glibc 2.10 to glibc 2.17
47 .\" _SVID_SOURCE || (_XOPEN_SOURCE >= 500 ||
48 .\" (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
49 .\" ! (_POSIX_C_SOURCE >= 200809L))
50 .\" Before glibc 2.10:
51 .\" _SVID_SOURCE || _XOPEN_SOURCE >= 500 ||
52 .\" (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
64 respectively, except that they use a
73 For an explanation of the terms used in this section, see
79 Interface Attribute Value
84 T} Thread safety MT-Unsafe race:qecvt
89 T} Thread safety MT-Unsafe race:qfcvt
94 T} Thread safety MT-Safe
101 .\" Not supported by libc4 and libc5.
103 These functions are obsolete.