* if you impose the order in which you parse, yes; but conflib allows sections and definitions to be moved around within the file, just as it allows you to keep unchanged keys that you can't handle (think of this config file :
TextViewer = "AMSTextEdit"
TextEditor = "AMSTextEdit"
- your favourite text viewer could modify the default text viewer, even though it doesn't even know about the TextEditor key! thus it also provides some form of forward compatibility)
All this can be done with fscanf
too. Just use it in a loop.