trunc
#define trunc(stream) ftruncate(fileno(stream), (long)ftell(stream))
#undef trunc
#define trunc(x) __tgmath_trunc(x)
trunc(double x) {