iconv: add euro symbol to GBK as single byte 0x80
[musl.git] / src / stdlib / gcvt.c
blobf29bc304e5bad0459c699422b273d6e381f2c539
1 #define _GNU_SOURCE
2 #include <stdlib.h>
3 #include <stdio.h>
5 char *gcvt(double x, int n, char *b)
7 sprintf(b, "%.*g", n, x);
8 return b;