Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
get_uformat(3)			Allegro	manual			get_uformat(3)

NAME
       get_uformat  -  Finds  out  what	 text encoding format is currently se-
       lected. Allegro game programming	library.

SYNOPSIS
       #include	<allegro.h>

       int get_uformat(void);

DESCRIPTION
       Finds out what text encoding format is currently	selected.  This	 func-
       tion  is	probably useful	only if	you are	writing	an Allegro addon deal-
       ing with	text strings and you use a different codepath for each	possi-
       ble 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 documenta-
       tion of set_uformat() for a list	of encoding formats.

SEE ALSO
       set_uformat(3)

Allegro				 version 4.4.3			get_uformat(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=get_uformat&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help