load and save cmds are added

This commit is contained in:
2022-08-28 13:10:36 +02:00
parent 4ef1b69f83
commit e39f4eb097
3 changed files with 62 additions and 1 deletions

View File

@ -511,6 +511,7 @@ int cw_cfg_load(const char *filename, cw_Cfg_t * cfg)
FILE *f = fopen(filename, "rb");
if (!f)
return errno;
errno=0;
errs = cw_cfg_read_from_file(f, cfg);
fclose(f);