Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <stdio.h> int feof ( FILE* stream); /* file stream to check */
The function feof determines whether an end-of-file condition has occurred. The parameter stream is a file pointer specifying a data stream.
The function is included the library RL-FlashFS. The prototype is defined in the file stdio.h.
ferror, ftell, rewind
#include <rtl.h> #include <stdio.h> void tst_feof (void) { FILE *fin; char ch; if (fin = fopen ("Test_feof") != NULL) { // Read all characters from the file while (!feof (fin)) { ch = fgetc (fin); } fclose (fin); } }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.