I am using the 'Arm Workbench IDE 4.0'. And I can compile the file access functions
like Following. But when run the image using the 'RealView Debugger v4.0', I can't
find out the xxx.txt file withing the system and ARM tool's directory.
FILE *pFile=NULL;
pFile = fopen(50, (char*)"c:\\temp\\xxx.txt", "wt"); // 50 is file identifier
rv=ferror(pFile);
rv=fprintf(pFile, "test\n");
if(pFile){
fclose(pFile);
pFile = NULL;}
I could have used the 'printf' with debugger tool's stdio so I think that there may be method for file management.
Can I use the file management functions?
And if so how?