sg_get_user_stats — get the current logged in users
#include <statgrab.h>
sg_user_stats *sg_get_user_stats();
This call returns a pointer to a static buffer of sg_user_stats.
The structure returned is of type sg_user_stats.
typedef struct{
char *name_list;
int num_entries;
}sg_user_stats;
A pointer to a space seperated list of the currently logged in users.
The number of users currently logged in.