fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30)
[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 }