Post by Glenn FowlerPost by Lionel ConsDoes libast have a directory walker API which can take a directory fd
(for openat()) as input to define the starting point?
no -- that's a good point
we would probably add fts_openat(path, fd, flags, comparf)
BTW: Such code should avoid using |chdir()| (no longer being needed
with the |*at()| API) and use |readdir_r()| to make the code fully
thread-safe...
Post by Glenn Fowlerand extend the *at() semantics to allow path==0 to use fd already in hand
Erm... AFAIK you mean path=="." in this case ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)