MQX 3.6 - MFS valid filename characters

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX 3.6 - MFS valid filename characters

945 次查看
ARQuattr
Contributor IV

I'm using MFS with the USB stack in MQX 3.6 and am having trouble with certain filenames.  In particular, I'm having trouble with a file that includes an apostrophe in the filename.  When I call this:

ioctl(fs_ptr, IO_IOCTL_FIND_NEXT_FILE, (uint_32_ptr) &search_data);

it finds the file no problem, but when I then try to open the file using:

fopen(search_data.NAME,"r");

it fails to open the file.

As I understand it the MFS uses the standard 8.3 DOS format but I believe apostrophes are allowed.  Other characters seem fine; these all work: ! @ # $ % ^ ( ) _

Are there some special restrictions with MQX MFS on allowable filename characters?

Thanks

标签 (1)
标记 (3)
0 项奖励
回复
0 回复数