SYNOPSIS

\*(T<#include "tools.h"\*(T>

DESCRIPTION

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 \*(T<sg_comp_init\*(T> structure and appending it to the list \*(T<comp_info\*(T> in \*(T<src/libstatgrab/globals.c\*(T>. See sg_comp_init(3) for details.

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).

RELATED TO sg_internal-intro…

libstatgrab(3) sg_intro(3) sg_set_error(3) sg_comp_init(3) sg_vector_create(3) sg_update_string(3)

WEBSITE

\(lahttp://www.i-scream.org/libstatgrab/\(ra