X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..289f6a146c0b2087607d8d8659531ea90142779a:/fatfs/doc/en/eof.html diff --git a/fatfs/doc/en/eof.html b/fatfs/doc/en/eof.html deleted file mode 100644 index 384c8d8..0000000 --- a/fatfs/doc/en/eof.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - -FatFs - f_eof - - - - -
-

f_eof

-

The f_eof function tests for end-of-file on a file.

-
-int f_eof (
-  FIL* fp   /* [IN] File object */
-);
-
-
- - -
-

Parameters

-
-
fp
-
Pointer to the open file object structure.
-
-
- - -
-

Return Values

-

The f_eof() function returns a non-zero value if the read/write pointer has reached end of the file; otherwise it returns a zero.

-
- - -
-

Description

-

In this revision, this function is implemented as a macro.

-
-#define f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)
-
-
- - -
-

QuickInfo

-

Always available.

-
- - -
-

See Also

-

f_open, f_lseek, FIL

-
- -

Return

- -