From 0c41b30e1534e4e23a1ff15eca50247579071d83 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 26 Apr 2026 16:57:47 +0200 Subject: Yet another project that will likely never be used by anyone --- README.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.org (limited to 'README.org') diff --git a/README.org b/README.org new file mode 100644 index 0000000..09f796a --- /dev/null +++ b/README.org @@ -0,0 +1,24 @@ +#+title: Uconfig + +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. + +* Installation + +Run ~make~ to compile and ~make install~ to install the static library and the +header file. + +* Usage + +Include =uconfig.h= in the sources. Then link the programs with =-luconfig=. + +In the code: +- create a Uconfig handle by calling ~uconfig_new~ and 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. -- cgit v1.2.3