int gp_app_cfg_scanf(const char *app_name, const char *cfg_filename, const char *fmt,...)
Does a single scanf() from a config file.
int gp_app_cfg_printf(const char *app_name, const char *cfg_filename, const char *fmt,...)
Does a simple printf() to a config file.
int gp_app_cfg_mkpath(const char *app_name)
Creates a path for a config files, if it does not exists.
char * gp_app_cfg_path(const char *app_name, const char *cfg_filename)
Prepares a path to a config file.
A compiler dependent macros.
#define GP_FMT_PRINTF(fmt, list)
Expands to format printf attribute when supported by the compiler.
#define GP_FMT_SCANF(fmt, list)
Expands to format scanf attribute when supported by the compiler.