Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
The type FILE creates an object for manipulating data streams. The type is defined in the file stdio.h. The type structure is not disclosed.
Example of usage:
#include <stdio.h> void tst_file (char fmode) { FILE *pFile; pFile = fopen ("test_file.txt", fmode); /* open a file for ... */ if (pFile != NULL) { /* error when trying to open file */ fclose (pFile); /* close the output file */ printf ("File closed.\n"); else { printf ("Cannot open file!\n"); } }
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.