Welcome! Log In Create A New Profile

Advanced

isfs_readdir Parameters

Posted by Teton 
isfs_readdir Parameters
July 02, 2009 03:00PM
hi.
( I'm not a good english speaker)
I've some questions about ISFS_ReadDir.

The first arg ( the path of the directory we want read) should be like that "/tmp/test" or "/tmp/test/" ( Here, I want to list the test directory).
Re: isfs_readdir Parameters
July 02, 2009 08:43PM
Uhm, I think you forgot to ask the question.
Re: isfs_readdir Parameters
July 02, 2009 09:53PM
Translation:
Should the first argument (which is the path of the directory we want to read) be like "/tmp/test" or "/tmp/test/" (I want to list the test directory that is in tmp). I am not sure if I should include the final slash or not.

My response:
I am not sure which one. I advise trying both and see what works.

translate.google.com

if you need help translating our answers to your language.
Re: isfs_readdir Parameters
July 03, 2009 06:39PM
Ok i understand well written english ^^

Okay I'll try.

And, if I use Identify_SU(), this function can let me access all the filesystem without error?



Let me explain.

I create a directory named 'test' in the /tmp directory. ( ISFS_CreateDir("/tmp/test", 0, ISFS_OPEN_RW, ISFS_OPEN_RW, ISFS_OPEN_RW);
I create an useless file in /tmp/test.

When i use ret=ISFS_ReadDir("/tmp/test/",NULL,&nbFiles);

It doesn't work and ret = -105 ( quite not sure, need to verify)

What mean this error?
Sorry, only registered users may post in this forum.

Click here to login