Re: is fstat or printf error?



printf("dev:%d, %d, %d\n", st.st_dev, 1, 5); // <======

dev:2049, 0, 1

On May 30, 11:15 am, Marcel Bruinsma <we-love-all-s...@xxxxxxxxx>
wrote:
In article
<97a1ac8b-2643-4f70-a369-f143ac181...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
/usr/include/bits/typesizes.h:

#define __DEV_T_TYPE __UQUAD_TYPE

thks.
yes, it's (unsigned long long) in my host.
printf cast it to int, and it should not affect the others thing,
should it?
Is __UQUAD_TYPE , i.e. unsigned long long, specila to printf, isn't
it?

.