netbsd man page for get_uformat

Query: get_uformat

OS: netbsd

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

get_uformat(3alleg4)						  Allegro manual					      get_uformat(3alleg4)

NAME
get_uformat - Finds out what text encoding format is currently selected. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int get_uformat(void);
DESCRIPTION
Finds out what text encoding format is currently selected. This function is probably useful only if you are writing an Allegro addon deal- ing with text strings and you use a different codepath for each possible format. Example: switch(get_uformat()) { case U_ASCII: do_something(); break; case U_UTF8: do_something_else(); break; ... }
RETURN VALUE
Returns the currently selected text encoding format. See the documentation of set_uformat() for a list of encoding formats.
SEE ALSO
set_uformat(3alleg4) Allegro version 4.4.2 get_uformat(3alleg4)
Related Man Pages
set_uformat(3alleg4) - suse
set_uformat(3alleg4) - centos
set_uformat(3alleg4) - netbsd
set_uformat(3alleg4) - linux
set_uformat(3alleg4) - osx
Similar Topics in the Unix Linux Community
Better to Use Return Code or wc -l Output?
NetBSD 6.1.2: apm and admd not found
RFC - Korn shell prompt
Grandpa returning to UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD