1. walk_dir() documentation

I noticed that no explanation is given in the documents for the return value
of walk__dir().
Regards.

new topic     » topic index » view message » categorize

2. Re: walk_dir() documentation

> I noticed that no explanation is given in the documents for the return value
> of walk__dir().

Its whatever you want. Your function returns 0 to continue, and
anything else to quit. Whatever you pass as a return value is then
returned via walk_dir(). This way you can make up your own error codes
and return them.

~Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: walk_dir() documentation

Ricardo M. Forno wrote:
> I noticed that no explanation is given in the documents for the return value
> of walk__dir().

Thanks. I'll fix that.
There's one specific error code returned: W_BAD_PATH
Other than that, 0 means success, and anything else
is a value that your customized routine can invent
for its own purposes.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu