2 ms·
For ptrdiff_t: "%td" For size_t: "%zu" There's no format for off_t, though. The best you can do is to typecast it to intmax_t, and then use "%jd".
by jwilk 10y ago
For ptrdiff_t: "%td"
For size_t: "%zu"
There's no format for off_t, though. The best you can do is to typecast it to intmax_t, and then use "%jd".