2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 POSIX.1-2001 function gcvt().
6 Function is deprecated and removed from POSIX.1-2008
11 /*****************************************************************************
25 Converts a number to a minimal length NULL terminated ASCII string.
26 It produces ndigit significant digits in either printf F format or
30 number - The number to convert.
31 ndigits - The number of significan digits that the string has to have.
32 buf - The buffer that will contain the result string.
35 The address of the string pointed to by buf.
38 This function is deprecated and not present anymore in POSIX.1-2008.
39 This function should not be used in new code and old code should
40 be fixed to remove usage.
41 This function is part of libposixc.a and may be removed in the future.
48 stdc.library/sprintf()
52 ******************************************************************************/
54 sprintf (buf
, "%.*G", ndigit
, number
);