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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -