get_config_string man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

get_config_string(3)		Allegro manual		  get_config_string(3)

NAME
       get_config_string  -  Retrieves	a  string from the configuration file.
       Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       const char *get_config_string(const char *section,  const  char	*name,
       const char *def);

DESCRIPTION
       Retrieves  a  string variable from the current config file. The section
       name may be set to NULL to read variables from the root of the file, or
       used to control which set of parameters (eg. sound or joystick) you are
       interested in reading. Example:

	  const char *lang = get_config_string("system", "language", "EN");

RETURN VALUE
       Returns a pointer to the constant string	 found	in  the	 configuration
       file.   If the named variable cannot be found, or its entry in the con‐
       fig file is empty, the value of `def' is returned.

SEE ALSO
       set_config_file(3), set_config_string(3), get_config_argv(3),  get_con‐
       fig_float(3),  get_config_hex(3),  get_config_int(3), get_config_id(3),
       get_config_text(3), exconfig(3)

Allegro				 version 4.4.2		  get_config_string(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net