1. walk_dir() documentation
- Posted by Ricardo M. Forno <rmforno at tutopia.com>
Jun 25, 2006
-
Last edited Jun 26, 2006
I noticed that no explanation is given in the documents for the return value
of walk__dir().
Regards.
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
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