Versions Compared

Key

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

...

Number of items written.

Notes/Warnings

  1. The size or nitems is 0, then the file is unchanged and zero is returned.
  2. If the file is buffered and the last operation is input (read), then a call to fs_fsetpos() or fs_fseek()must occur before output (write can be performed unless the end-of-file was encountered.
  3. The file must have been opened in write or update (read/write) mode.
  4. If the file was opened in append mode, all writes are forced to the end-of-file.