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

FreeBSD Manual Pages

  
 
  

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

NAME
       uwidth_max  - Number of bytes a character can occupy. Allegro game pro-
       gramming	library.

SYNOPSIS
       #include	<allegro.h>

       int uwidth_max(int type);

DESCRIPTION
       Low level helper	function for working with Unicode text	data.  Returns
       the  largest number of bytes that one character can occupy in the given
       encoding	format.	Pass U_CURRENT to represent the	current	format.	 Exam-
       ple:

	  char *temp_buffer = malloc(256 * uwidth_max(U_UTF8));

SEE ALSO
       uwidth(3), ucwidth(3)

Allegro				 version 4.4.2			 uwidth_max(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

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

home | help