add deprecated (removed from posix) [efg]cvt() functions
[musl] / src / stdlib / gcvt.c
1 #include <stdlib.h>
2 #include <stdio.h>
3
4 char *gcvt(double x, int n, char *b)
5 {
6         sprintf(b, "%.*g", n, x);
7         return b;
8 }