Unix Programming - fread

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2006 > fread





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author fread
freegnu

2006-10-25, 7:18 am

fFrameSize = fread(fto, 1, max, fid);
printf("max = %d\n", max);
printf("fFrameSize = %d\n", fFrameSize);

from printf(), i find fFrameSize is larger than max (fFrameSize > max), that really confused me
loic-dev@gmx.net

2006-10-25, 7:18 am

Hello,

> fFrameSize = fread(fto, 1, max, fid);
> printf("max = %d\n", max);
> printf("fFrameSize = %d\n", fFrameSize);
>
> from printf(), i find fFrameSize is larger than max (fFrameSize > max), that really confused me


what are the value printed for max and fFrameSize?

Cheers,
Loic.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com