LIBKYCONF(3)
🌸 NAME 🌸
libkyconf — the KYSDK config-file handling library, bestie 💖 it does config file processing in the standard format, plus XML (not implemented yet, rip) and JSON (also not implemented, we're manifesting), and yes it handles both reading and writing config files ✨
It's from the Library Functions Manual, iykyk 📚
🎀 SYNOPSIS 🎀
#include <libkyconf.h>
💫 Functions 💫
int kdk_conf_init (const char *confpath)— sets up / initializes a config file 🫶void kdk_conf_destroy (int id)— nukes the config file handle you pass in 💀 (metaphorically, it's a cleanup bestie)int kdk_conf_reload (int id)— reloads the config file, fresh start energy 🌈const char * kdk_conf_get_value (int id, const char *group, const char *key)— grabs the value of the config item you asked for 👑char **const kdk_conf_list_key (int id, const char *group)— lists all the key values under the given Group of the config file for thatid, and the list ends with aNULLpointer to say "that's all, bestie" ✨char **const kdk_conf_list_group (int id)— lists every Group in the config file for thatid, and again the list ends with aNULLpointer 🌸void kdk_config_freeall (char **ptr)— the recycling queen 🧚 used to free up a string list so you're not leaking
📖 Detailed Description 📖
So like — libkyconf is the KYSDK config-file handling library 💅 It supports config file processing for the standard format, XML (not implemented), and JSON (not implemented), and it covers the reading and the writing of config files. No cap.
🧾 CONFORMING TO 🧾
These functions are as per the withdrawn POSIX.1e draft specification. Yes, withdrawn, we know, it's giving vintage ✨
The following functions are Linux extensions 👑:
kdk_conf_init()kdk_conf_destroy()kdk_conf_reload()kdk_conf_get_value()kdk_conf_list_key()kdk_conf_list_group()kdk_config_freeall()
🔗 SEE ALSO 🔗
kdk_conf_init(3)kdk_conf_destroy(3)kdk_conf_reload(3)kdk_conf_get_value(3)kdk_conf_list_key(3)kdk_conf_list_group(3)kdk_config_freeall(3)
🖊️ Author 🖊️
Generated automatically by Doxygen for libkyconf.h from the source code. Not a human, just a little robot doing its thing 🤖💜
okay that's the whole page bestie, love u, bye 💖 — this one came from My Project, dated Fri Sep 22 2023 ⭐ go be iconic with your config files, periodt 🎀
📦 where this page comes from
- arch rolling: libkysdk-base 3.0.1.1-1 · Apache-2.0 AND LGPL-3.0-or-later AND MIT
- ubuntu resolute: libkysdk-base-dev 3.0.1.2-0ubuntu1 · LGPL-3.0-or-later
- ubuntu stonking: libkysdk-base-dev 3.0.1.3-1build1 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms