Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Fread, depressed

Fread mistakes perror has printed success, how are pursuing?

Fread does not distinguish between end-of-file and error, and callers
Must use feof (3) and ferror (3) to determine which occurred.

Feof not confirmed

Fread does not distinguish between end-of-file and error, and callers
Must use feof (3) and ferror (3) to determine which occurred.
This is the man manual interpretation, since the document fread arrived late or impossible to distinguish an error, it would definitely not be judged errno.
Feof not the case, you can call ferror see, it should be

Fread does not distinguish between end-of-file and error, and callers
Must use feof (3) and ferror (3) to determine which occurred.
This is the man manual interpretation, since the document fread arrived late or impossible to distinguish an error, it would definitely not be judged errno.
Feof not the case, you can call ferror see, it should be

Find a reason that the procedures have bugs.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com