.\" Generated by the Allegro makedoc utility .TH uwidth_max 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME uwidth_max \- Number of bytes a character can occupy. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int uwidth_max(int type); .SH 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. Example: .nf char *temp_buffer = malloc(256 * uwidth_max(U_UTF8)); .fi .SH SEE ALSO .BR uwidth (3alleg4), .BR ucwidth (3alleg4)