Go to file
2019-11-22 18:53:51 +08:00
config.ini optimization 2019-11-22 18:53:51 +08:00
libini.c optimization 2019-11-22 18:53:51 +08:00
libini.h optimization 2019-11-22 18:53:51 +08:00
Makefile Fix the space problem on the right side of the equal sign. 2019-08-06 18:01:24 +08:00
README.md optimization 2019-11-22 18:53:51 +08:00
test.c optimization 2019-11-22 18:53:51 +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