Re: is fstat or printf error?
- From: ssszer@xxxxxxxxx
- Date: Thu, 29 May 2008 20:54:16 -0700 (PDT)
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?
.
- Follow-Ups:
- Re: is fstat or printf error?
- From: Marcel Bruinsma
- Re: is fstat or printf error?
- References:
- is fstat or printf error?
- From: ssszer
- Re: is fstat or printf error?
- From: Marcel Bruinsma
- is fstat or printf error?
- Prev by Date: Re: is fstat or printf error?
- Next by Date: Daily Performance Report- Online Calls & BTST (Cash/Derivatives)Dated 29th May 2
- Previous by thread: Re: is fstat or printf error?
- Next by thread: Re: is fstat or printf error?
- Index(es):