Chapter 2. General

To use LibGGI, #include ggi/ggi.h in a C program. LibGGI functions are prefixed with ggi, and other #defines are prefixed with GGI_.

Most LibGGI functions return 0 to indicate success, and a negative error code to indicate errors. Return codes greater than 0 are usually additional hints or other non-negative integer data.

A list of error codes and descriptions can be found in the ggi/errors.h file, which is part of the LibGGI/LibGG package.