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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -