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

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -