get_config_text 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_text(3)		Allegro manual		    get_config_text(3)

NAME
       get_config_text	- Returns a string translated to the current language.
       Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       const char *get_config_text(const char *msg);

DESCRIPTION
       This function is primarily intended for use by internal	library	 code,
       but  it	may  perhaps be helpful to application programmers as well. It
       uses the `language.dat' or `XXtext.cfg' files (where XX is  a  language
       code) to look up a translated version of the parameter in the currently
       selected language.

       This is basically the same thing as  calling  get_config_string()  with
       `[language]'  as	 the section, `msg' as the variable name, and `msg' as
       the default value, but it contains some special code to handle  Unicode
       format  conversions.  The `msg' parameter is always given in ASCII for‐
       mat, but the returned string will be converted into  the	 current  text
       encoding,  with	memory	being allocated as required, so you can assume
       that this pointer will persist  without	having	to  manually  allocate
       storage space for each string.

       Note  that  if  you  are planning on distributing your game on the Unix
       platform there is a special issue with  how  to	deal  with  the	 `lan‐
       guage.dat'  file. Read section "Files shared by Allegro" of the chapter
       "Unix specifics" to learn more about this.

RETURN VALUE
       Returns a suitable translation if one can be found or  a	 copy  of  the
       parameter if nothing else is available.

SEE ALSO
       get_config_string(3), reload_config_texts(3)

Allegro				 version 4.4.2		    get_config_text(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