1sg_internal-intro(3) sg_internal-intro(3)
2
3
4
6 sg_internal-intro - get system statistics
7
9 #include "tools.h"
10
11
13 The statgrab library is organised into components, whereby each compo‐
14 nent contains interrelated functions. Other components are made known
15 to the globals component by filling a sg_comp_init structure and ap‐
16 pending it to the list comp_info in src/libstatgrab/globals.c. See
17 sg_comp_init(3) for details.
18
19 The error managing component is a mixed one, partially public (getting
20 error status), partially private (modifying error status). The last er‐
21 ror is held per thread once error component initialisation is run once.
22
23 The memory management is done by the vector and tools components. The
24 memory management covers optimised vector management (creating, resiz‐
25 ing, freeing, comparing, ...) and dynamic storage management (improved
26 string management).
27
29 libstatgrab(3) sg_intro(3) sg_set_error(3) sg_comp_init(3) sg_vec‐
30 tor_create(3) sg_update_string(3)
31
33 ⟨https://libstatgrab.org/⟩
34
35
36
37libstatgrab 2019-03-08 sg_internal-intro(3)