Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

File

Called from

Code enabled by

fs_api..c

Application

FS_CFG_API_EN

Test error indicator on a file.

Arguments

p_file

Pointer to a file.

Returned Value

0, if error indicator is not set or if an error occurred

Non-zero value, if error indicator is set.

Notes/Warnings

  1. The return value from this function should ALWAYS be tested against 0:

  2. If the error indicator is set (i.e., fs_ferror() returns a non-zero value), fs_clearerr() can be used to clear that indicator.
  • No labels