emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels
[oweals/musl.git] / 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 }