1get_config_argv(3) Allegro manual get_config_argv(3)
2
3
4
6 get_config_argv - Reads a token list from the configuration file. Alle‐
7 gro game programming library.
8
10 #include <allegro.h>
11
12
13 char **get_config_argv(const char *section, const char *name, int
14 *argc);
15
17 Reads a token list (words separated by spaces) from the current config
18 file. The token list is stored in a temporary buffer that will be clob‐
19 bered by the next call to get_config_argv(), so the data should not be
20 expected to persist.
21
23 Returns an argv style argument list and sets `argc' to the number of
24 retrieved tokens. If the variable is not present, returns NULL and sets
25 argc to zero.
26
27
29 set_config_file(3), get_config_string(3), get_config_float(3), get_con‐
30 fig_hex(3), get_config_int(3), get_config_id(3), exconfig(3)
31
32
33
34Allegro version 4.4.2 get_config_argv(3)