I am trying to create a file and write to it during runtime. When I use fopen with "w" option to create a new file, the file pointer is always retuned to be NULL.
Is there any library or any special command I have to add to enable the file writing and reading operation in the module.