sg_get_user_stats(3) - Linux man page
Name
sg_get_user_stats - get the current logged in users
Synopsis
#include <statgrab.h>
sg_user_stats *sg_get_user_stats(void);
Description
This call returns a pointer to a static buffer of sg_user_stats.
Return Values
The structure returned is of type sg_user_stats.
typedef struct{
char *name_list;
int num_entries;
}sg_user_stats;
- name_list
- A pointer to a space seperated list of the currently logged in users.
- num_entries
- The number of users currently logged in.
See Also
statgrab(3)
Website
http://www.i-scream.org/libstatgrab/