PRIdMAX
#define ARITH_FORMAT_STR "%" PRIdMAX
printf("ok: %" PRIdMAX "\n", (intmax_t)st.st_size);
printf("%" PRIdMAX "\n", limitval);