I'm in the process of writing a simple C-based daemon mostly for the learning experience. At this point, I've got a working daemon and I'd like to expose some configuration options to users.
What's the standard way that most daemons provide configuration options and are there any good C libraries that help with this?