c - How are the results from glob ordered? -
i reading files in directory using :
glob_t* globlist; // initialization. glob(pattern, glob_err | glob_brace, null, globlist);
this works well, order of processing each file relevant, know if there specific ordering matches, or if there none, if possible specify in way.
as quoted man page here
the pathnames shall in sort order defined current setting of lc_collate category;
Comments
Post a Comment