Table of Contents
Uconfig - Read a Unix config file
"Uconfig" is supposed to stand for "Micro config", because it is a small library, but maybe saying that it stands for "Unix config" makes more sense. Choose your side.
1. Installation
Run make to compile. Run make check to run tests. Run make install to
install the static library and the header file.
2. Usage
Include uconfig.h in the sources. Then link the programs with -luconfig.
In the code:
- create a Uconfig handle by calling
uconfig_newand passing a Unix configuration file to read, - retrieve configuration parameters using
uconfig_get, - finalize by calling
uconfig_destroy.
See the example in the test subdirectory.
