This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
file deletion / unlink problem
- From: Haydn Nelson <nelsonjh at ll dot mit dot edu>
- To: ecos-discuss at sourceware dot org
- Date: Fri, 20 Jan 2006 16:46:39 -0500
- Subject: [ECOS] file deletion / unlink problem
So this is my 1st question in this forum and I am relatively new to eCos...
I am having trouble getting eCos to delete a file on CF which has FAT16
I am able to fopen() the file, read and write to it... but when I use
remove("File Name") or unlink("File Name") I get a zero returned and the
file still exists when I view it on another system.. I can use the same
functions with a file name that does not exist and I get a true
returned. Is there some other macro or argument I am missing to be able
to simply delete a file. I have searched through the ecos-discuss FAQ
and have not found this exact problem. I am reading and writing the file
in the root directory of the CF card.
I imagine it is something simple...
Any thoughts would be greatly appreciated.
- Haydn Nelson
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss