Re: fts(3) depth or breadth first?

phil-news-nospam_at_ipal.net
Date: 06/05/03


Date: 4 Jun 2003 22:36:44 GMT

On Wed, 4 Jun 2003 22:09:12 +0300 Valentin Nechayev <netch@segfault.kiev.ua> wrote:
|>>> William Ahern wrote:
|
| WA> is there any way to control the depth that fts(3) goes to?
|
| No. fts is only depth first (but in the same time depth last, i.e.
| you can ask it to list directory both before and after its contents).
| Breadth first order isn't implemented.

However, with fts_children() you can work around that and get the
effect of breadth first, if desired. It's just more work for the
calling program to do; more code for the programmer to write.

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://ka9wgn.ham.org/    |
-----------------------------------------------------------------


Relevant Pages

  • Re: Access Password
    ... including a control with a format specified as Password. ... In the onclick evens for both buttons, ... switch to some value so the calling form knows which button was pressed. ... Then, from the calling program, close the dialog form. ...
    (microsoft.public.access.forms)
  • Re: ADO
    ... Pardeep Kadian wrote: ... I think your problem is in this line, if you look up adAsyncExecute, ... An operation that returns control to the calling program without waiting ...
    (microsoft.public.data.oledb)
  • Re: ADO
    ... Pardeep Kadian wrote: ... I think your problem is in this line, if you look up adAsyncExecute, ... An operation that returns control to the calling program without waiting ...
    (microsoft.public.data.ado)
  • Re: ADO
    ... Pardeep Kadian wrote: ... I think your problem is in this line, if you look up adAsyncExecute, ... An operation that returns control to the calling program without waiting ...
    (microsoft.public.vc.database)