41 |
|
<para> |
42 |
|
The <function>sg_get_process_stats</function> takes a pointer to |
43 |
|
an int, <parameter>entries</parameter>, which is filled with the |
44 |
< |
number of processes the snapshot contains. A pointer to the first |
45 |
< |
entry, of type <structname>sg_process_stats</structname> is |
46 |
< |
returned, and <parameter>entries</parameter> can be used to iterate |
47 |
< |
through to the last entry. |
44 |
> |
number of processes the snapshot contains. The return value is a |
45 |
> |
pointer to the first member of an array of |
46 |
> |
<structname>sg_process_stats</structname> structures; the number |
47 |
> |
of entries in the array is returned in |
48 |
> |
<parameter>entries</parameter>. |
49 |
|
</para> |
50 |
|
<para> |
51 |
|
<function>sg_get_process_count</function> returns a pointer to a |