]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/qecvt.3
Reordered sections for consistency.
[thirdparty/man-pages.git] / man3 / qecvt.3
CommitLineData
fea681da
MK
1.\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl>
2.\"
3.\" Permission is granted to make and distribute verbatim copies of this
4.\" manual provided the copyright notice and this permission notice are
5.\" preserved on all copies.
6.\"
7.\" Permission is granted to copy and distribute modified versions of this
8.\" manual under the conditions for verbatim copying, provided that the
9.\" entire resulting derived work is distributed under the terms of a
10.\" permission notice identical to this one.
c13182ef 11.\"
fea681da
MK
12.\" Since the Linux kernel and libraries are constantly changing, this
13.\" manual page may be incorrect or out-of-date. The author(s) assume no
14.\" responsibility for errors or omissions, or for damages resulting from
15.\" the use of the information contained herein. The author(s) may not
16.\" have taken the same level of care in the production of this manual,
17.\" which is licensed free of charge, as they might when working
18.\" professionally.
c13182ef 19.\"
fea681da
MK
20.\" Formatted or processed versions of this manual, if unaccompanied by
21.\" the source, must acknowledge the copyright and authors of this work.
22.\"
23.\" This replaces an earlier man page written by Walter Harms
24.\" <walter.harms@informatik.uni-oldenburg.de>.
25.\"
26.TH QECVT 3 2002-08-25 "GNU" "Linux Programmer's Manual"
27.SH NAME
28qecvt, qfcvt, qgcvt \- convert a floating-point number to a string
29.SH SYNOPSIS
30.B #include <stdlib.h>
31.sp
32.BI "char *qecvt(long double " number ", int " ndigits ", int *" decpt ,
33.BI "int *" sign );
34.sp
35.BI "char *qfcvt(long double " number ", int " ndigits ", int *" decpt ,
36.BI "int *" sign );
37.sp
38.BI "char *qgcvt(long double " number ", int " ndigit ", char *" buf );
39.SH DESCRIPTION
40The functions
e511ffb6
MK
41.BR qecvt (),
42.BR qfcvt ()
fea681da 43and
e511ffb6 44.BR qgcvt ()
fea681da 45are identical to
fb186734
MK
46.BR ecvt (3),
47.BR fcvt (3)
fea681da 48and
fb186734 49.BR gcvt (3)
fea681da 50respectively, except that they use a
9ff08aad 51.I "long double"
fea681da
MK
52argument
53.IR number .
54See
55.BR ecvt (3)
56and
57.BR gcvt (3).
58.SH NOTES
c13182ef
MK
59These functions are obsolete.
60Instead,
fb186734 61.BR sprintf (3)
fea681da
MK
62is recommended.
63.SH "CONFORMING TO"
68e1685c
MK
64SVr4.
65Not seen in most common Unix implementations,
c13182ef
MK
66but occurs in SunOS.
67Not supported by libc4 and libc5.
fea681da
MK
68Supported by glibc.
69.SH "SEE ALSO"
70.BR ecvt (3),
71.BR ecvt_r (3),
72.BR gcvt (3),
73.BR sprintf (3)