Hi,
I think we have to draw the border between FILE_IO and convenience
functions somewhere.
Otherwise we would end up with the entire libc accessible via FILE_IO.
And, remember, we have this nice language called APL to do such things.
/// Jürgen
On 07/08/2014 05:56 AM, David B. Lamkins wrote:
It looks like glob() subsumes the function of readdir(). There are some
nasty details with allocated results, too...
You could, however, combine fnmatch() with readdir().
http://linux.die.net/man/3/fnmatch
On Tue, 2014-07-08 at 11:44 +0800, Elias Mårtenson wrote:
How about adding support for a dyadic form where the left-side
argument is a glob pattern to be used when matching the file names?
http://linux.die.net/man/3/glob
Regards,
Elias