This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File attribute

Hi all,

I'm using the Keil file system on STR912 to write in SD card.
My program is very simply :
I create file with "fopen" function
then I write in SD using "fwrite" function
and finally I close the file with "fclose" function

I would to know how can I set the file attribute to read-only mode.

Thanks in advance.

Best regards,
JM

0