uci: complete option/setoption

- eval-defs.c: add parameter type in ev_params
- util.c:
  - new str_eq_case()
  - new str_skip_word
  - str_token(): split string before token
This commit is contained in:
2024-07-28 15:14:07 +02:00
parent 2cd1289cd6
commit a6a21626c7
7 changed files with 197 additions and 42 deletions

View File

@@ -32,9 +32,10 @@ void init_all(void)
printff("stdout buffering... ");
setlinebuf(stdout);
/* for printf() numeric thousands separator */
printff("locale... ");
/* for printf() thousands separator */
setlocale(LC_NUMERIC, "");
setlocale(LC_CTYPE, "C");
/* pseudo random generator seed */
printff("random generator... ");