Go to file
2019-06-30 11:01:17 +08:00
config.ini Repair putinikeystring() function 2019-06-29 12:06:22 +08:00
libini.c Repair the getinikeystring() function 2019-06-30 11:01:17 +08:00
libini.h Initial submission of source code, no bugs found 2019-06-27 20:45:31 +08:00
Makefile Initial submission of source code, no bugs found 2019-06-27 20:45:31 +08:00
README.md Repair putinikeystring() function 2019-06-29 12:06:22 +08:00
test.c Repair putinikeystring() function 2019-06-29 12:06:22 +08:00

libini

非常小的读取、写入ini配置文件c库.
支持字符串、整形、长整型、浮点型.
注释是"//"、"#"、";".
会读取等号右边所有字符.
支持等号左右有若干空格.

build

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

test

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