|
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. |
| |