<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>a white space in the argument string of fopen</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40498/a-white-space-in-the-argument-string-of-fopen</link><description> 
This may not be a big doubt or querry but kindly have
patience. 

 
I m using fopen with nand flash memory. 
when is perform 

 
FILE* file;
char filepath[PROTO_FILEPATH_SIZE];

...

file = fopen(filename, &amp;quot;w&amp;quot;); //filename = &amp;quot;Docs\CBE renamed.txt&amp;quot;
</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: a white space in the argument string of fopen</title><link>https://community.arm.com/thread/107568?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 21:18:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e7eeb18a-7d73-4eab-9647-1a1831e97262</guid><dc:creator>Ash J</dc:creator><description>&lt;p&gt;&lt;p&gt;
That would be Flash-FS.&lt;br /&gt;
but on Parallel Nand flash memory, i think its FAT32. (though i m not
sure about the details. i havent really implemented it _but welcome
all the suggested documents - for studying and getting the details of
it_)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a white space in the argument string of fopen</title><link>https://community.arm.com/thread/107567?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 05:40:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1ef43c1e-205c-469e-905a-8260eb4d5696</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
This is a little bit of text about the file name handling -
actually about # of files you can store in the root directory, but it
does mention a bit about processing of file names.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/docs/3598.htm"&gt;http://www.keil.com/support/docs/3598.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a white space in the argument string of fopen</title><link>https://community.arm.com/thread/93140?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 05:37:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:03fb0e40-a505-4b28-bca7-66414af4a340</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I don&amp;#39;t use the Keil file system - but what file system is it. If
it&amp;#39;s a traditional MS-DOS file system without VFAT support, then file
names are limited to 8.3 length.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a white space in the argument string of fopen</title><link>https://community.arm.com/thread/62656?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 04:34:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f5654d1a-292e-4c29-9eda-88ce61c2d08d</guid><dc:creator>Ash J</dc:creator><description>&lt;p&gt;&lt;p&gt;
also, the examples in the keil documents shows the space only used
in frename() function.&lt;br /&gt;
The fopen doesnt have an example with filename with space character -
which makes me assume that space character cant be used with fopen
but can be used with freopen.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/rlarm/rlarm_fopen.htm"&gt;http://www.keil.com/support/man/docs/rlarm/rlarm_fopen.htm&lt;/a&gt;&lt;br /&gt;

&lt;a href="http://www.keil.com/support/man/docs/rlarm/rlarm_frename.htm"&gt;http://www.keil.com/support/man/docs/rlarm/rlarm_frename.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>