On Thu, 26.07.12 14:16, Stef Bon (stef...@gmail.com) wrote: > Hi, > > I'm implementing the sd_get_uids function in my app. It basically > reads the directory /run/systemd/users. > I do not know, is this list already sorted?? this is the same question > as is the readdir function "sort" sensitive? > > If not, I have to add a sort function.
As mentioned already by others, this list is not sorted. I have now added a comment to the man pages clarifying this. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel