Code: Select all
long long totalSize,freeSize,badSize,usedSize;
while (1) {
totalSize = 1234567891;
freeSize = 2876543219;
badSize = 3468971346;
usedSize = 4055667788;
iprintf( "%llu total, %llu free, %llu used, %llu bad\r\n",
totalSize, freeSize, usedSize, badSize );
std::cout<<totalSize<<" total, "<<freeSize<<" free, "<<usedSize<<" used, "<<badSize<<" bad"<<endl;
The iprintf (first and third lines) doesn't work, the streaming output (second and forth lines) works.0 total, 1234567891 free, 0 used, 2876543219 bad
1234567891 total, 2876543219 free, 4055667788 used, 3468971346 bad
0 total, 1234567891 free, 0 used, 2876543219 bad
1234567891 total, 2876543219 free, 4055667788 used, 3468971346 bad
I saw this when I tried the EFFS-FTP example from the 2.7.0 release.
Not a bid deal for me, but it is probably something that should be fixed in a future release.