glib is the base of the Gnome infrastructure. It's a C
utility library, providing routines to create and
manipulate common data structures. It also addresses
portability issues; for example, many systems lack the
snprintf() function, but glib
contains an implementation called
g_snprintf() which is both guaranteed to exist on
all platforms and slightly safer than snprintf() (it always NULL-terminates the target buffer).
Gnome 1.0 uses glib version 1.2 and works with any glib
in the 1.2 series (1.2.1, 1.2.2, etc.). All glib
versions beginning with 1.2 are compatible bug-fix
releases.