Hello
I have troubles with deleting files. I am doing delete and create file
often. All is good, but after delete and create approximately 200 files
I have not ram memory. For testing I have 2MB ram(it is much).
Yaffs call yaffsfs_mallo, but yaffsfs_free is not call. Where I have error?
Example code:
Handle = yaffs_open("data/file1.dat",O_CREAT | O_RDWR, S_IREAD |
S_IWRITE);
.
.
.
yaffs_close(Handle);
.
.
.
.
yaffs_unlink("data/file1.dat");
yaffs_unlink function is for delete file? Acording to all information yes.
Thank you for response.
MS