Use an INI file in C on Linux

后端 未结 7 1547
不思量自难忘°
不思量自难忘° 2020-12-14 17:34

Is there a standard way of reading a kind of configuration like INI files for Linux using C?

I am working on a Linux based handheld and writing code in C.

Ot

7条回答
  •  醉梦人生
    2020-12-14 18:20

    There is an updated fork of iniparser at ccan, the original author has not been able to give it much attention over the years. Disclaimer - I maintain it.

    Additionally, iniparser contains a dictionary that is very useful on its own.

提交回复
热议问题