Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of reading a file is given in Listing 10-1.the example file read listing below:

L10-1(1) To determine whether a file read terminates because of reaching the EOF or a device error/removal, the EOF condition should be checked using fs_feof().

...