sg_internal-intro — get system statistics
The statgrab library is organised into components, whereby each
component contains interrelated functions. Other components are made
known to the globals component by filling a
sg_comp_init structure and appending it to
The error managing component is a mixed one, partially public (getting error status), partially private (modifying error status). The last error is held per thread once error component initialisation is run once.
The memory management is done by the vector and tools components. The memory management covers optimised vector management (creating, resizing, freeing, comparing, ...) and dynamic storage management (improved string management).