Versions Compared

Key

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

Another common operation is getting or setting the file position. The fs_fgetpos() and fs_fsetpos() allow the application to ‘store’ a file location, continue reading or writing the file, and then go back to that place at a later time. An example of using file position get and set is given in the example file position set/get listing. below: