Use an INI file in C on Linux

后端 未结 7 1590
不思量自难忘°
不思量自难忘° 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:09

    I hate to suggest something entirely different in suggesting XML, but libexpat is pretty minimal, but does XML.

    I came to this conclusion as I had the same question as you did, but then I realized the project already had libexpat linked-in--and I should probably just use that.

提交回复
热议问题