Go to file
2019-06-27 21:20:56 +08:00
config.ini Initial submission of source code, no bugs found 2019-06-27 20:45:31 +08:00
libini.c Initial submission of source code, no bugs found 2019-06-27 20:45:31 +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 modify README.md 2019-06-27 21:20:56 +08:00
test.c Initial submission of source code, no bugs found 2019-06-27 20:45:31 +08:00

libini

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

build

git clone https://github.com/niuyuling/libini
cd libini
make
gcc -Wall test.c -o test -L./ -lini -static
./test