My code uses a text based conf file with key=value type entries. I want to add sections feature for file, i.e. search for number of sections, search for particular key in a section.
I was wondering if there are any libraries/functions which already does this, that I can reuse. My suspicion is yes, since lot of gnu software uses such files. If getopt for cmd line flags exists, something like a conf file reader should also exist. But I just can't find it. Any information is appreciated.