Hi,

On Tue, 2015-03-31 at 07:08 -0500, Janakiram Sistla wrote:

> Is there a better way to use readdir() inside
> connman_storage_get_services() in src/storage.c to retrieve the file names
> in a sorted order in which the files are created. As per the present usage
> i see that readdir() retrieves the files randomly.

readdir() returns the directory entries in some order depending on the
file system data structures. Why is this a problem as all relevant files
in the directories are used anyway?

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to