Go to file
2019-07-02 11:15:11 +08:00
config.ini The delchar() function removes string quotes and colons 2019-07-02 11:15:11 +08:00
libini.c The delchar() function removes string quotes and colons 2019-07-02 11:15:11 +08:00
libini.h The delchar() function removes string quotes and colons 2019-07-02 11:15:11 +08:00
Makefile Initial submission of source code, no bugs found 2019-06-27 20:45:31 +08:00
README.md The delchar() function removes string quotes and colons 2019-07-02 11:15:11 +08:00
test.c The delchar() function removes string quotes and colons 2019-07-02 11:15:11 +08:00

libini

非常小的读取、写入ini配置文件c库.
支持字符串、整形、长整型、浮点型.
注释是"//"、"#"、";".
支持等号左右有若干空格.
不再支持单一右边所有字符,支持两种格式一种是带引号和不带引号的key

build

git clone https://github.com/niuyuling/libini
cd libini
make

test

gcc -Wall test.c -o test -L./ -lini -static
./test