in reply to Re^2: get directory listing
in thread get directory listing
Yeah it's on one line and looks elegant. Unfortunately there is no error control and it skips directories with a leading '.' in the name (e.g. '.foo', '..bar').
The POSIX defined flags for bsd_glob() are: "GLOB_ERR" Force bsd_glob() to return an error when it encounters a directory it cannot open or read. Ordinarily bsd_glob() continues to find matches.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: get directory listing
by bluto (Curate) on Nov 08, 2005 at 19:35 UTC | |
by blazar (Canon) on Nov 09, 2005 at 14:36 UTC |