DOKK / manpages / debian 11 / allegro4-doc / get_config_int.3alleg4.en
get_config_int(3alleg4) Allegro manual get_config_int(3alleg4)

get_config_int - Retrieves an integer from the configuration file. Allegro game programming library.

#include <allegro.h>

int get_config_int(const char *section, const char *name, int def);

Reads an integer variable from the current config file. See the comments about get_config_string().

set_config_file(3alleg4), set_config_int(3alleg4), get_config_string(3alleg4), get_config_argv(3alleg4), get_config_float(3alleg4), get_config_hex(3alleg4), get_config_id(3alleg4), exconfig(3alleg4)

version 4.4.3 Allegro