From 5366852335044c1e68a5c32548d3051cc943552f Mon Sep 17 00:00:00 2001 From: Leo C Date: Tue, 19 Aug 2014 15:31:33 +0200 Subject: Import fatfs R0.10b FatFs Module Source Files R0.10b Author: (C)ChaN, 2014 (http://elm-chan.org) URL: http://elm-chan.org/fsw/ff/ff10b.zip --- fatfs/doc/en/error.html | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 fatfs/doc/en/error.html (limited to 'fatfs/doc/en/error.html') diff --git a/fatfs/doc/en/error.html b/fatfs/doc/en/error.html new file mode 100644 index 0000000..7405d9e --- /dev/null +++ b/fatfs/doc/en/error.html @@ -0,0 +1,62 @@ + + +
+ + + + + +The f_error tests for an error on a file.
++int f_error ( + FIL* fp /* [IN] File object */ +); ++
Returns a non-zero value if a hard error has occured; otherwise it returns a zero.
+In this revision, this function is implemented as a macro.
+
+#define f_error(fp) (((fp)->flag & FA__ERROR) ? 1 : 0)
+
+Always available.
+