1sg_get_user_stats(3) Library Functions Manual sg_get_user_stats(3)
2
3
4
6 sg_get_user_stats - get the current logged in users
7
9 #include <statgrab.h>
10
11
12 sg_user_stats *sg_get_user_stats(void);
13
15 This call returns a pointer to a static buffer of sg_user_stats.
16
18 The structure returned is of type sg_user_stats.
19
20 typedef struct{
21 char *name_list;
22 int num_entries;
23 }sg_user_stats;
24
25
26 name_list
27 A pointer to a space seperated list of the currently logged in
28 users.
29
30 num_entries
31 The number of users currently logged in.
32
34 statgrab(3)
35
37 http://www.i-scream.org/libstatgrab/
38
39
40
41i-scream $Date: 2005/04/25 11:25:45 $ sg_get_user_stats(3)