Page 1 of 1

fileXio and fio

Posted: Mon Jan 03, 2005 12:18 am
by KaylaKaze
Will it ever be possible that these 2 file methods will ever be able to be combined into 1 command that doesn't care if something is on HD or MC/HOST/CDFS, or will HD ever be fio compatible? I was just looking at the stdlib fopen, etc. code and it only handles fio. I'm wondering 'cause I've been looking at some code I want to port but it's neck deep in
fstream. I can work around it, but just thought I'd check.

Posted: Mon Jan 03, 2005 11:30 am
by Drakonite
fileXio should be able to access anything, and in a bit more standard way than fileio I've been told, or at least that was the point. So yes, there should only be one that you need that doesn't care what filesystem it is ;)

As for HDD being supported by fileio, no, it won't happen.

Posted: Mon Jan 03, 2005 10:22 pm
by KaylaKaze
That's what I thought too, but as of previous versions, that wasn't the case. I could never get fileXio to access anything but HD. I haven't checked with 1.2 yet. It'd be nice if I could stop using "if (!(strncmp(filename,"pfs",3))) fileXioOpen else fioOpen"