Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_config_hex(3alleg4) [opendarwin man page]

get_config_hex(3alleg4) 					  Allegro manual					   get_config_hex(3alleg4)

NAME
get_config_hex - Retrieves a hexadecimal value from the configuration file. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_config_hex(const char *section, const char *name, int def); DESCRIPTION
Reads an integer variable from the current config file, in hexadecimal format. See the comments about get_config_string(). SEE ALSO
set_config_file(3alleg4), set_config_hex(3alleg4), get_config_string(3alleg4), get_config_argv(3alleg4), get_config_float(3alleg4), get_config_int(3alleg4), get_config_id(3alleg4) Allegro version 4.4.2 get_config_hex(3alleg4)

Check Out this Related Man Page

get_config_string(3alleg4)					  Allegro manual					get_config_string(3alleg4)

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(3alleg4), set_config_string(3alleg4), get_config_argv(3alleg4), get_config_float(3alleg4), get_config_hex(3alleg4), get_config_int(3alleg4), get_config_id(3alleg4), get_config_text(3alleg4), exconfig(3alleg4) Allegro version 4.4.2 get_config_string(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos